mlummus Posted April 20, 2010 Share Posted April 20, 2010 I'm receiving a "Warning: mysqli_query() expects at least 2 parameters, 1 given." Would would be the second parameter it is looking for? $SQLstring = "SELECT * FROM student WHERE id = '$id'"; $QueryResult = mysqli_query($SQLstring); Any help is greatly appreciated. Thanks! Link to comment https://forums.phpfreaks.com/topic/199194-mysqli_query-parameters-issue/ Share on other sites More sharing options...
trq Posted April 21, 2010 Share Posted April 21, 2010 Take a look at the manual entry. mysqli_query. Link to comment https://forums.phpfreaks.com/topic/199194-mysqli_query-parameters-issue/#findComment-1045496 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.