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 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. 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
Archived
This topic is now archived and is closed to further replies.