Hi I am displaying records on my page with an image from the database, as it is not a requirement for a user to upload an image I want to use a default image when there is no image stored in the database I have been trying this but cannot get it working?

Code PHP:
<img src="/uploads/
	<?php 
	$image = $row2['name'];
	$default = "default.jpg";
if ( $image == "" ) echo $default;
	else
  echo $image;
	?>
    " alt="a" width="90" height="90" />
Appreciate any help I get