Re: What does this error mean

From: Date: Sun, 22 Sep 2002 18:39:49 +0000
Subject: Re: What does this error mean
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-117193@lists.php.net to get a copy of this message
I found out what it was: I mispelled a column in the insert statement. it actually had nothing to do with the parameters passed to the function i passed $query and $link and once i spelled the column right it went through just fine. why would it not just tell me that the column did not exist? Randy ----- Original Message ----- From: "Daniel Kushner" <php@websapp.com> To: "'Randy Johnson'" <icgphp@icecoldgold.com>; "'Paul Nicholson'" <paul@dtnicholson.com>; "'Bryan McLemore'" <paradox@ipstudios.net>; "'PHP GEN LIST'" <php-general@lists.php.net> Sent: Sunday, September 22, 2002 2:34 PM Subject: RE: [PHP] What does this error mean > Hi Randy, > > It means that you are calling the function without the right amount of > parameters. The function mysql_query expects at least 1 (one) paramter: > the query String. > http://www.php.net/manual/en/function.mysql-query.php > > Regards, > Daniel Kushner > ____________________________________ > Need hosting? http://thehostingcompany.us > > > > > -----Original Message----- > From: Randy Johnson [mailto:icgphp@icecoldgold.com] > Sent: Sunday, September 22, 2002 2:26 PM > To: Paul Nicholson; Bryan McLemore; PHP GEN LIST > Subject: [PHP] What does this error mean > > > What does this error mean? > > Warning: Wrong parameter count for mysql_query() > > > Thanks > > Randy > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#117193) next »