User Profile

Collapse

Profile Sidebar

Collapse
hjaffer2001
hjaffer2001
Last Activity: Oct 12 '10, 05:01 AM
Joined: Aug 10 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • hjaffer2001
    started a topic Two functions + Validation problem

    Two functions + Validation problem

    Hi all,
    I have one form which has to do two functions on sumbit.
    The form looks lik this.
    <form method="post" id="searchlist " name="searchlis t" onsubmit="retur n (OnSubmitForm(r esult) && validate())">

    And the javascript is:
    Code:
    function OnSubmitForm(result)
    				{
    				  				
    				  if(result == 'Show_Results')
    				  {
    				  document.searchlist.action
    ...
    See more | Go to post
    Last edited by Dormilich; Sep 27 '10, 06:21 AM. Reason: fixed [code] tags

  • hjaffer2001
    started a topic CSV attach + Mail sending
    in PHP

    CSV attach + Mail sending

    Hi all,
    I have a function that will create a csv file from db.
    Now, i want to attach the csv file to my mail(gmail) without saving to my desktop as soon as the Email Result button is clicked.
    In other words, a CSV file attachment to my mail as soon as a button is clicked.

    Any Suggestions?

    Thanks
    Haan
    See more | Go to post

  • hjaffer2001
    started a topic Three Array values to export-csv
    in PHP

    Three Array values to export-csv

    I have three array values using nested loop. Now i want to export the array values to csv(excel). The code is

    Code:
    for($j=0;$j<count($TimeEntriesList);$j++){
    			 	for($n=0;$n<count($TimeEntriesList[$j]['time-entry']);$n++){
    					$datee[] = $TimeEntriesList[$j]['time-entry'][$n]['date'];
    					$person_id[] = $TimeEntriesList[$j]['time-entry'][$n]['person-id'];
    					$project_id[] = $TimeEntriesList[$j]['time-entry'][$n]['project-id'];
    ...
    See more | Go to post

  • Insert into mysql from .txt file depending on Date

    Hi all,
    I have a code which works fine.

    Code:
    <?php
    
    $db = mysql_connect("localhost","root",""); 
    mysql_select_db("test",$db); 
    
    $today = date("F j, Y, g:i a");
    //echo $today;exit();
    $file = "test.txt";
    $fp = fopen($file, "r");
    $data = fread($fp, filesize($file));
    fclose($fp);
    ...
    See more | Go to post
No activity results to display
Show More
Working...