PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I can not get the following code to work. I keep getting an error stating that the statement is wrong. However when I run in directly on the db it will delete everything without issues. Will someone please look and see what I am missing.
Thanks,
lmhart wrote:double checked--> the user has the proper credentials to allow for deletes.
Also changed to truncate table but still getting the same error
Parse error: syntax error, unexpected T_STRING in /home/themarkh/public_html/budget/delete_all_categories.php on line 5
Don't see anything that'd cause that error. Though that's a PHP error, not a MySQL error. Post new code that you have.