This Error code

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
abbey4biz
Forum Commoner
Posts: 32
Joined: Wed Nov 23, 2011 12:25 pm

This Error code

Post by abbey4biz »

Hi pals,

Please when you see this error code, what is it that is wrong?

mysqli_query() expects parameter 1 to be mysqli, null given in .....

Thanks for your anticipated swift response.
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: This Error code

Post by Celauran »

Pretty self-explanatory. mysqli_query requires a mysqli link identifier as the first parameter.
abbey4biz
Forum Commoner
Posts: 32
Joined: Wed Nov 23, 2011 12:25 pm

Re: This Error code

Post by abbey4biz »

please can you throw more light, dont seems to get it
x_mutatis_mutandis_x
Forum Contributor
Posts: 160
Joined: Tue Apr 17, 2012 12:57 pm

Re: This Error code

Post by x_mutatis_mutandis_x »

abbey4biz wrote:please can you throw more light, dont seems to get it
if you show us the code where you are calling the mysqli() function, then we can throw a brighter light on it :P
Post Reply