I have looked over and over this code and I can’t find what’s wrong with it. When I open it up in a browser(firefox) it displays the headings and the outline of the table, but then it shows code. I have looked for missing bracket quotes, and I think it looks fine. Can anybody help, please…
[code]Car Types <?php
/* Select all catagories from CarType*/
$query = “SELECT * FROM Cartype ORDER BY carType”;
$result = pg_query($query)
or die (“Couldn’t execute query.”);
/* Display text before form */
The following cars are waiting for you to sit behind the wheel.
Find the car that fits you perfectly and ride down the streets in style.
What car are you interested in?";
/* Creat form containing selection list */
echo "<input type=‘radio’ name=‘interest’ value=’$carType’;