The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › Back End › Multiple Query question!
So what I’m doing exactly is making a search page. I want to be able to search for the wall post’s content, and the name of the user who posted it. Now I could line them up like
… But why would I do that if I could mix them together so the most accurate will display on the top?
I’m currently using this query to list information:
$query = mysql_query("SELECT * FROM wallposts WHERE content LIKE '%$searchq%'");
while ($row = mysql_ [...]
… Any way I can use multiple, like WHERE content OR username LIKE … ?
– Thank’s :) !