include('includes/sqlconnect.php');
$query = "SELECT * FROM cars";
$run_query = mysql_query($query) or die(mysql_error());
while ($row = mysql_fetch_array($run_query)){
$title = $row['TITLE'];
$imgsrc_small = $row['IMGSRC_SMALL'];
$imgsrc_big = $row['IMGSRC_BIG'];
$imgsrc_small2 = $row['IMGSRC2_SMALL'];
$imgsrc_big2 = $row['IMGSRC2_BIG'];
$imgsrc_small3 = $row['IMGSRC3_SMALL'];
$imgsrc_big3 = $row['IMGSRC3_BIG'];
$imgsrc_small4 = $row['IMGSRC4_SMALL'];
$imgsrc_big4 = $row['IMGSRC4_BIG'];
$date = $row['DATE'];
$description= $row['DESCRIPTION'];
?>
echo $title; ?> |
echo $date; ?> |
|
|
|
|
echo $description; ?> |
|
}
?>
include('includes/rightcontent.php'); ?>