ok so I have the sql and the output for if someone has an image, how would I re-write this to set a default image if the user hasn't uploaded a profile picture?
$search = mysql_query("SELECT users.username, users.id, tbl_image.photo, tbl_image.userid FROM users LEFT OUTER JOIN tbl_image ON users.id=tbl_image.userid WHERE users.username LIKE '%$search_term%' and users.business <> 'business'");
<img src="/image/'.$results_row['photo'].'" width="50px" height="40px">