nice bro i m very thankful to you
nice bro i m very thankful to you
it's a really very useful sharing... thank you so much shakeel bhai.........
wow what a sharing it is.
Sir keep it up very nice sharing...
HelpKoie mujhy bta sakta h k php form ko jab localhost pa run kya jay to jo data form pr put kren wo excel sheet man save ho jay jo k computer hardisk pr mojod ho. Or ya sara function local host pr kam kry.
I shall very thankful to you for this act of kindness.
Boht Aala bhai, chaa gaye ho
Jazak Allah.
بہہت ہی عمدہ
nice
Pehle Html mein form bana lain
action mein = post.php
post.php open karain
$filename = "excelsheet.csv";
$string = '"'.$_POST['name'].'","'.$_POST['address'].'","'.$_POST['town'];
$string .= '","'.$_POST['phone'].'","'.$_POST['email'].'"\n';
if (file_exists($filename)) {
$file = fopen($filename, "a");
fwrite($file, $string);
} else {
$file = fopen($filename, "a");
fwrite($file, '"Name","Address","Town","Phone","Email"\n');
fwrite($file, $string);
}
fclose($file);
bohot khoob
Bohat Khoob Shakil Bhai!
Bookmarks