Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #10K
Ranked #3K
~4K People Reached
Favorite Forums

11 Posted Topics

Member Avatar for wewehalim

[CODE=php]$sql="select * from `game` where `game_no`='3' ORDER BY `game_row`; $result=mysql_query($sql) or exit(mysql_error()); print '<table>' $i=1; while ($row=mysql_fetch_assoc($result)) { $curGR="gamerow$i"; $gamerow=explode(',',$$curGR); print '<tr>'; for($c=0;$c<9;$c++) { print '<td>'; if($gamerow==0) { print [...input...] } else { print $gamerow[$c]; } print '</td>'; } print '</tr>'; } print '</table>';[/CODE]

Member Avatar for wewehalim
0
482
Member Avatar for php_learner

Try including [CODE]X-Mailer: PHP\r\n[/CODE] in the message header. There could be so many other reasons, but see how you get on with that.

Member Avatar for Member #334542
0
153
Member Avatar for nizbit
Member Avatar for bmcconkie

[CODE]$newfilecontents=file_get_contents('file1.txt').file_get_contents('file2.txt');[/CODE]

Member Avatar for digital-ether
0
117
Member Avatar for niths

Why not redirect the user once the file is uploaded, and remove the need to press back?

Member Avatar for allincorporated
0
63
Member Avatar for murid
Member Avatar for Member #381922

have you tried [icode]is_object[/icode] instead of [icode]is_array[/icode]?

Member Avatar for allincorporated
0
1K
Member Avatar for sachin.quadros

Html: [CODE]<form method="post" .... <select name="day"> <option="1">1</option> ... </select> <select name="month"> <option="MAY">MAY</option> ... </select> <select name="year"> <option="2010">2010</option> ... </select> <input type="submit" /> </form> [/CODE] PHP: [CODE=php]<?php if ($_POST) { $query="INSERT INTO [I]tablename[/I] `date` VALUES ('{$_POST['day']}-{$_POST['month']}-{$_POST['year']}')"; $result=mysql_query($query); } ?>[/CODE]

Member Avatar for sachin.quadros
0
127
Member Avatar for Mujahid158

You cannot output anything before using [ICODE]setcookie()[/ICODE]. Presumably you have used [ICODE]print[/ICODE] in the 'header.php' file, on line 12. Set your cookies first then print.

Member Avatar for Mujahid158
0
107
Member Avatar for GrahamLawton

Change line 22 to [ICODE]mysql_query($query) or exit(mysql_error());[/ICODE] and see what you get.

Member Avatar for GrahamLawton
0
307
Member Avatar for haribo83

You have three main options, I can think of, in setting up such a script: 1. One form processes all records (including repeats) and process_form() handles all of this. 2. A form for each record set and process_form() only handles that record set. (You can then redisplay the form with …

Member Avatar for Member #120589
0
90

The End.