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
~417 People Reached
Favorite Forums
Favorite Tags
php x 3
Member Avatar for flforlife

Ok what I want to do is update rows in MySQL using the same form that I posted. I'm a php mysql noob but I can't read code and figure out what it does. This is my input form...... [code] <form method='post' enctype='multipart/form-data' action="majoradd.php"> <table> <tr> <td>Do not enter in …

Member Avatar for sDJh
0
92
Member Avatar for flforlife

I'm trying to update multple queries but the update is not working. here is the code.... [code] if (isset($_POST['btnSub'])) { // Preset counter $p and switch $sw to 0 $p=$sw=0; // Create UPDATE queries foreach($_POST["entry"] as $data) { $sql[$p]="UPDATE major SET "; foreach($data as $key => $value) { // Save …

Member Avatar for amigura
0
203
Member Avatar for flforlife

I know how to post multiple rows using a if and foreach loop. I can post multiple rows from one form. here is the form snippet..... [code] <tr> <td><input name="entry[0][place]" type="text" /></td> <td><input name="entry[0][team]" type="text" /></td> <td><input name="entry[0][wl]" type="text" /></td> <td><input name="entry[0][gb]" type="text" /></td> <td><input name="entry[0][pcage]" type="text" /></td> <td><input name="entry[0][rs]" …

Member Avatar for digital-ether
0
122