I dunno if anybody is familiar with LDU Seditio engine but i need help writing a short code.
i need a SQL & PHP code that will search the DB
PHP Code:
$SQL = Search db for user avatar and uder ID #
$results = user avarat = user id number
($row = mysql_fetch_array($results))
i know nothing about the code above is corrent except the concept which is my point. as long as u get what im tryin to do ive done my job lol.
so i want to search the db and match a user id or name with thats users Avatar and then display it on the page. via something like this
PHP Code:
$Buddies .= "<img src=\"$avatar\"> "; ($avatar = url) so its ok to do it that way $buddies .= " ".sed_build_user($row["buddies_buddyid"], stripslashes($row["buddies_buddyname"])); $buddies .= " ";
i know i need to use the LEFT JOIN statement but i dunno how to get that implemented
anybody help is appreciated
Last edited by xjsv; 12-10-2009 at 03:09 PM..
|