techker Posted March 31, 2013 Share Posted March 31, 2013 Hey guys i have an auto suggest form that i want to show 2 fields in the search box.. echo '<ul>';while ($result = $query ->fetch_object()) { echo '<li onClick="fill(\''.addslashes($result->Nom).'\');">'.$result->Nom-Prenom.'</li>'; }echo '</ul>'; how can i set the results to look in 2 fields? $result->Nom i have tried $result->Nom,Prenom $result->Nom.Prenom.... Link to comment https://forums.phpfreaks.com/topic/276352-mysqli-results/ Share on other sites More sharing options...
fenway Posted April 7, 2013 Share Posted April 7, 2013 Are you you're accessing that recordset correct? Try vardump. Link to comment https://forums.phpfreaks.com/topic/276352-mysqli-results/#findComment-1423411 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.