HI I have an else if statement that all the results are coming out as the first if even though in the info row they are different in the table, hope someone can help.

// showbanners
                            if($row['info'] ="Some Apples")
                            {
                                $showbanners = '<img src="1.png"><br><br><img 

src="2.png">';
                            } 
                            elseif($row['info'] ="Some Bananas")
                            {
                                $showbanners = '<img src="1.png"></span>';
                            }
                            else
                            {
                                $showbanners = '<img src="1.png"></span>';
                            }

You should use == for comparison. = means assignment.

Of course what a plonker - thanks for your help