Re: [PHP-DB] overwriting new information in a table

2001-12-02 Thread Miles Thompson
Take out the extraneous bracket! Should be: $sql = "update my_contacts set fname='$fname', name='$lname' where id=$id"; At 05:52 PM 12/2/2001 -0400, Miles Thompson wrote: >Kevin, > >There a couple of good tutorials on this sort of thing at >http://www.thickbook.com. Well worth a visit. > >I've

Re: [PHP-DB] overwriting new information in a table

2001-12-02 Thread Miles Thompson
Kevin, There a couple of good tutorials on this sort of thing at http://www.thickbook.com. Well worth a visit. I've plucked your shorter example out and re-written it this way: $sql = "update my_contacts set fname='$fname', name='$lname' where id=$id"); Note the single quotes around the $fna