DELETE FROM does not work
Posted: Thu Nov 03, 2011 7:00 pm
I am trying to find out why the DELETE FROM is not working in the mysql server but i can't find it. Here is my code:
Any ideas? :S
Code: Select all
<?php
$dbcon = mysql_connect("localhost", "root", "");
mysql_select_db("mydb", $dbcon);
mysql_query("DELETE FROM folders WHERE deletec LIKE 'hello');
mysql_close($dbcon)
?>