<a href="http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_concat" target="_blank">http://dev.mysql.com/doc/refman/5.0/...unction_concat</a>
The query that grabs the posts, use two concats:
CONCAT( post, ' ', CONCAT( 'userid_', userid ) )
untested, but I hope you get the idea. Then you need to modify search.php to transform a given userid into the string...
|