Re: Add/Edit/Delete Form Woes

2004-05-25 Thread Ryan Fox
>$sql = "UPDATE Continents SET > CCode='$CCode',Name1='$Name1',Type1='$Type1',Group='$Group',Hemisphere='$Hemisphere',ID1='$ID1' Also, this has a pretty severe logic flaw. If someone changes the CCode field, this sql statement won't function as desired. :) Ryan Fox -- MySQL General Maili

Re: Add/Edit/Delete Form Woes

2004-05-25 Thread Ryan Fox
> http://localhost/geowebworks/php/exp3.php?CCode=caf > > That looks right; caf (for "continent-Africa") is the > value for the CCode field on the Africa row. But if I > type something in the form and press submit, the > change isn't reflected in my MySQL table. My thought is that the tutorial us

RE: Add/Edit/Delete Form Woes

2004-05-25 Thread electroteque
Here is a methodology i use action=update&ID=1 action=insert action=edit on delete if the delete button is pressed that is $_POST['delete'] it will delete the entry i use a switch statement on the action request > -Original Message- > From: David Blomstrom [mailto:[EMAIL PROTECTED] >