Jump to content

Mysqli results->


techker

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.