i make a shopping online that in home page i show my product picture's to user
(information product's such as address location of picture and name and the other properties is kept in database my programming language is php and my database is mysql)
my problem is that my product pictures in Internet Explorer is shown correctly
but in firefox browser instead of picture text is writen in alt attribute is shown
for showing picture i fetch product's properties from database and show they on the page.
a part of my code is as follows
Expand|Select|Wrap|Line Numbers
- $id=$_SESSION['sid'][$i];//id product code's in db
- $query1="select id_phone,mark,seri,photo,price,guaranty from $table_name
- where id_phone='$id'";
- ++$i;
- $result1=mysql_query($query1,$cxn)or die('could not execute query for fetch properties ');
- while($rows1=mysql_fetch_array($result1))
- {#41
- $aa=(int)$rows1['id_phone'];
- echo "<a href=\"show_properties.php?aa=$aa\" class='a1'>";;
- echo $value_name_phone[$rows1['mark']].' '.$rows1['seri'];
- echo "<br>";
- echo "<img src={$rows1['photo']} border='0' width=90 height=120 alt=\"show product's properties\">";
- echo "<br>";
- echo "<a href=\".\order_material.php?id=$id\">";//this line go user to page of showing product's properties
thanks