Re: [PHP] how to modify in the db

2003-07-06 Thread Miles Thompson
Start with a good tutorial on PHP and MySQL - there are scads of them around, and Julie Meloni has some excellent examples at www.thickbook.com. At 04:41 PM 7/6/2003 -0300, Kevin Fradkin wrote: hi... i have this secuence to insert data to my db mysql_query ("INSERT INTO my_table( number,name,sur

Re: [PHP] how to modify in the db

2003-07-06 Thread Philip Olson
use UPDATE Also, be sure to learn basic SQL before use: http://www.w3schools.com/sql/ http://www.sqlcourse.com/ http://www.onlamp.com/pub/ct/19 Regards, Philip On Sun, 6 Jul 2003, Kevin Fradkin wrote: > hi... > i have this secuence to insert data to my db > > mysql_query > ("INSERT INTO my

[PHP] how to modify in the db

2003-07-06 Thread Kevin Fradkin
hi... i have this secuence to insert data to my db mysql_query ("INSERT INTO my_table( number,name,surname ) values ('$number','$name','$surname' )"); i want to ask what do i have to do if i want to modify instead of insert when this data already exists... for example.. i have in my_table numb