MySQL Forums
Forum List  »  PHP

Warning: Wrong parameter count for mysql_query()
Posted by: James Holmes
Date: May 12, 2008 07:50PM

Thinks for the help but I'm not getting it at all. I'm still getting this error message.

Warning: Wrong parameter count for mysql_query()

mysql_connect (LOCALHOST, jrproduc_dom, asia24);
$Result1 = mysql_query($insertSQL, $dommailinglist, 2) or die(mysql_error());
$conn = mysql_connect(LOCALHOST, jrproduc_dom, asia24) or die( msql_error() );
}

I went to the http://fr.php.net/manual/en/function.mysql-query.php page but I'm not understanding it. What I got from what I read is that the way it has to be coded is like this mysql_query ( string $query [, resource $link_identifier ] ) but where do I get this info from. I need MAJOR help!!!! Please help me solve this problem so I can run into the next one.

Thanks,

James

Options: ReplyQuote


Subject
Written By
Posted
Warning: Wrong parameter count for mysql_query()
May 12, 2008 07:50PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.