Hello everyone. I'm a newcomer to PHP. What I'm trying to do is find out how I can edit or delete records from a mysql database using PHP. Are there any good examples out there that I can look at?
<? $sql="UPDATE table SET field1='new_data', field2='more data' WHERE some condition"; mysql_query($sql) or die(mysql_error()); $sql="DELETE FROM table WHERE some condition"; mysql_query($sql) or die(mysql_error()); ?>
HTH Rob