When I run this code, it works fine in Chrome and FF, however, with IE it does not.
[php]<?php
include(‘connection.php’);
$query=“SELECT * FROM veh
ORDER BY year
DESC”;
$resource=mysql_query($query);
?>
Year | Make | Model | Style | Mileage | Color | Retail Price | Image | Details |
".$result['year']." | ".$result['make']." | ".$result['model']." | ".$result['style']." | ".$result['mileage']." | ".$result['color']." | ".$result['rprice']." | <input type=\"button\" name = \"details\" value = \"Details\" / |
I get that the
[php]<input type=“button” name = “details” value = “Details” /[/php]
should be submit instead of button for IE, but when I change it to submit, it will not run the php in any of the browsers, instead when clicking the details button it just jumps the page back to teh top.
Any advice?