Vision Hive, I have tried what you posted, but still all i get is a blank page…
This is what i have for my connect.php
I you think it is out of date, tell me what i need to change please…
<?php
$host="localhost";
$username="root";
$password="";
$db_name="daytonaspeed";
mysql_connect("$host","$username","$password") or die (mysql_error());
mysql_select_db("$db_name") or die (mysql_error());
?>
and this is the script that i modified
[code]
body,td,th {
font-family: Verdana, Geneva, sans-serif;
font-size: xx-large;
color: #000;
}
<?php
require ('connect.php');
$vehicles = mysql_query("SELECT*FROM vehicles") or die (mysql_error());
while($info = mysql_fetch_array($vehicles)){
?>
<? echo $info['id']; ?> |
<? echo $info['make']; ?> |
<? echo $info['model']; ?> |
<? echo $info['year']; ?> |
<?php
}
mysql_close() or die (mysql_error());
?>
[/code]
I was thinking about this, might it be because I am only trying to display select information from my database, for example:
In my database I have Make, Model, Price, Year, Style, Interior color, Exterior color etc…
I am only trying to display the stuff in my code though, I dont know if it will cause problems like this.
thanks for the help