View Single Post
Old 05-03-2005, 02:12 PM   #2 (permalink)
GameOn
Registered User
 
Join Date: May 2005
Posts: 4
GameOn is on a distinguished road
Also tried this:

Code in index.php
PHP Code:
//Request the car details
$result = @mysql_query('SELECT make FROM cardetail');
$hlink mysql_query($result);

while (
$make mysql_fetch_array($hlink))
               {
                       echo 
"<a href=".$row['make'] .">";
                }

echo 
' <table>
      <tr>
        <td>' 
$row['make'] . '</td>
        <td><a href="products.php" target="_blank">' 
$row['make'] . '</a></td>
        <td>' 
$row['model'] . '</td>
        <td>' 
$row['year'] . '</td>
      </tr>
      </table>'
;

if (!
$result) {
    exit(
'<p>Error performing query: ' mysql_error() . '</p>');

I'm hoping to turn the query results into a page with an order option below.
GameOn is offline   Reply With Quote