Jump to content

[SOLVED] Wrong pram count for an update???


phpretard

Recommended Posts

Warning: Wrong parameter count for mysql_query()

 

The error above is a result of:

 

$update_cat=mysql_unbuffered_query("update categories set cat_name='".$_POST['category']."' where id='".intval($_POST['id'])."') ") or die(mysql_query());

 

I have never seen a "Wrong parameter count" for an update.

 

Any help?

Link to comment
https://forums.phpfreaks.com/topic/168397-solved-wrong-pram-count-for-an-update/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.