i am trying to display images stored in my database using php , it does not show any images it just fills the page with letters and symbols.
Can anyone help me
the code which needs fixing follows:
if (isset ($_POST[‘search_name’]) ){
$search_name = $_POST[‘search_name’];
if (!empty($search_name) ){
$query = “SELECT image FROM movies WHERE name LIKE '”.$search_name."%’ ";
$query_run = mysql_query($query);
if(mysql_num_rows($query_run) >= 1 ){
echo 'results found: ';
while($query_row = mysql_fetch_assoc($query_run) ) {
echo $query_row[‘image’].’
’;
}
}else{
echo ‘no results found’;
}