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.... Quote Link to comment 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. Quote Link to comment 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.