By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,988 Members | 1,360 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,988 IT Pros & Developers. It's quick & easy.

PHP mysql query is not executing

P: 88
All other mysql queries execute except this one:
Expand|Select|Wrap|Line Numbers
  1. $setcurrent = mysqli_query("UPDATE blog SET currentblog = (id = '55')") or die('Error, failed to set current blog');
Can anyone help me with this?
Feb 11 '12 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 5K+
P: 8,639
thatís not a mysql query, thatís a mysqli query and as you can see in the manual, the function call differs.

besides that, turn error reporting and error display on when debugging.
Feb 11 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.