are you sure that this sql is correct?...delete * from blogtable where blogid=$id
Codes here !
3 posts • Page 1 of 1
ok for a delete if you want the number of rows you will need to use $n=mysql_affected_rows($result); . For the query itself, try capturing the error (you can just echo mysql_error()). You also should be using mysqli/PDO instead of mysql. See http://php.net/manual/en/function.mysql ... d-rows.php For more information.
Who is online
Users browsing this forum: Bing [Bot] and 1 guest