darkfreaks Posted January 13, 2009 Share Posted January 13, 2009 Solved i put the connection in each function in func.lib.php and it works fine now Quote Link to comment https://forums.phpfreaks.com/topic/140734-solved-warning-mysqli_query-expects-parameter-1-to-be-mysqli/ Share on other sites More sharing options...
premiso Posted January 13, 2009 Share Posted January 13, 2009 Where is $con being defined. You need to show more code to get the issue fixed. The gist $con does not contain a valid mysqli resource. Quote Link to comment https://forums.phpfreaks.com/topic/140734-solved-warning-mysqli_query-expects-parameter-1-to-be-mysqli/#findComment-736575 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.