SQL deleating a row
Posted: Tue Jan 25, 2005 6:17 pm
$select = $_POST["select"];
$link = mysql_connect("localhost", "", "");
if(!link)
die("couldn't connect to mySQL");
$lico = "DELETE FROM users WHERE username = 'sam'";
MySQL("test", $lico);
select returns user, but when i try and run the sql command
$link = mysql_connect("localhost", "", "");
if(!link)
die("couldn't connect to mySQL");
$lico = "DELETE FROM users WHERE username = 'sam'";
MySQL("test", $lico);
select returns user, but when i try and run the sql command