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" <[EMAIL PROTECTED]>
To: "'Randy Johnson'" <[EMAIL PROTECTED]>; "'Paul Nicholson'"
<[EMAIL PROTECTED]>; "'Bryan McLemore'" <[EMAIL PROTECTED]>; "'PHP
GEN LIST'" <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]]
> 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
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to