hi there,
i dont know, whats wrong with this code, but it just wont delete the entry in my db!
I must say, that the variable is working right and that the line works in mysql, but not in this mysql_query.
Whats wrogn with this code?
$server = "localhost";
$user_db = "root";
$pass_db = "";
$conn = mysql_connect($server, $user_db, $pass_db);
if(!$conn) {
echo "<B>Sorry, a database error just occured. Please reload this page.</B>";
exit;
}
$sql = "DELETE FROM links WHERE id=$deleteme";
$result = mysql_query($sql,$conn);
mysql_close($conn);
thx for ur help,
so long,
Duncan McLord