Page 1 of 1

how to delete???

Posted: Thu Apr 15, 2004 12:46 pm
by yk
Name:fdgfdg
Location:dgdfgfgh
Email:fghgfhfg
URL:fghgfhfg
Comments:fghgfh
Entry_id:1
delete/modify


i have a problem in deleting or modifying these data... i don't know what command i need to use????

Posted: Thu Apr 15, 2004 12:52 pm
by qads
is this in a database or in a file?

Posted: Thu Apr 15, 2004 1:20 pm
by ol4pr0

Code: Select all

$query = "DELETE from <tablename where something=$whatever";

Posted: Thu Apr 15, 2004 2:31 pm
by vigge89

Code: Select all

<?php

mysql_query ("DELETE FROM `table` WHERE `field` = $something");

?>