|  | Posted by J.O. Aho on 03/19/07 08:27 
Jeff North wrote:> On Sun, 18 Mar 2007 20:47:35 -0500, in alt.php "Steve"
 > <no.one@example.com>
 > <XamLh.57$JR4.29@newsfe02.lga> wrote:
 >
 >> | | Apart from the 2,250 errors that http://validator.w3.org picked out
 >> | | the most obvious one is
 >> | | <input type="hidden" name="id[]" value="{$row['person_id']}">
 >> |
 >> | are you saying the above is an error in html or his use of what's inbetween
 >> | brackets?
 >> |
 >
 > Obviously it is a failed <?php echo {$row['person_id']};?>
 > instruction.
 
 <?php echo $row['person_id']; ?>
 would make more since here, as the variable isn't within double quotes, and
 there is one big form, which means there will be a lot of data sent when
 updating a single value or sending someone an e-mail, I would have split it
 down to one form per person, of course it has the drawback that you can't
 update all data at once without some javascript.
 
 --
 
 //Aho
  Navigation: [Reply to this message] |