SMGames
08-05-2007, 02:39 AM
Hi, i have this:
elseif($row['id'] < 200){
echo
'<td><img src=image title="some title"></td>';
}
And it works fine however i also have this:
elseif($row['points'] > 1600){
echo
'<td><img src="image" title="some title"></td>';
}
The problem is, is that on the > tag it only shows 1 image no matter how high the points, the highter the points you have you will have a different image, but it only shows the same 1 all the time.
PLEASE NOT THE ELSEIF IS MENT TO BE THERE, OTHER IF'S ARE BEFORE THEM!
elseif($row['id'] < 200){
echo
'<td><img src=image title="some title"></td>';
}
And it works fine however i also have this:
elseif($row['points'] > 1600){
echo
'<td><img src="image" title="some title"></td>';
}
The problem is, is that on the > tag it only shows 1 image no matter how high the points, the highter the points you have you will have a different image, but it only shows the same 1 all the time.
PLEASE NOT THE ELSEIF IS MENT TO BE THERE, OTHER IF'S ARE BEFORE THEM!