ecabrera Posted July 29, 2011 Share Posted July 29, 2011 i get this when i load up my website can some one help me fix if u want to see the whole script tell me and i'll put it up Warning: mysqli_error() expects exactly 1 parameter, 0 given in /home/enriquec/public_html/index.php on line 13 $query = mysqli_query($myConnection, $sqlCommand) or die (mysqli_error()); Link to comment https://forums.phpfreaks.com/topic/243188-error/ Share on other sites More sharing options...
PFMaBiSmAd Posted July 29, 2011 Share Posted July 29, 2011 mysqli_error requires that mysql-link as a parameter - mysqli_error($myConnection) Link to comment https://forums.phpfreaks.com/topic/243188-error/#findComment-1249024 Share on other sites More sharing options...
ecabrera Posted July 29, 2011 Author Share Posted July 29, 2011 thanks got it Link to comment https://forums.phpfreaks.com/topic/243188-error/#findComment-1249027 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.