![]() |
|
? |
![]() PHP FAQ PHP Articles PHP Help Bulletin Board PHP Manual (NEW!) First Time PHP'ers Help with programming Sql assignment help PHP Homework Help C# Help
|
? |
|
||||||||||||||||||||||||||||||
?Reply To This Message | |||||||||||||||||||||||||||||||||
?Your Name: | |||||||||||||||||||||||||||||||||
?Your Email: | |||||||||||||||||||||||||||||||||
?Subject: | |||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||
Email replies to this thread, to the address above. | |||||||||||||||||||||||||||||||||
??wrote: > > I am trying to learn SQL and PHP. I have created a database I > can read and load info into, but I can't delete rows. I have > a trial page if anyone can help I would greatly appreciate it. > > http://www.wearebusiness.com/php/catalog/deleterow2.php > > http://www.wearebusiness.com/php/catalog/deleterow.php > > > The code I am tring to use is posted below: > > > > > > > }?> > > { > $sql = "DELETE FROM Pet WHERE delete=$petID"; > $result = mysql_query($sql); > echo "Record deleted!"; > }?> ">??![]() |