Please look at my script

Amazingly, after combining and re-writing the script, I have finally gotten an output…

Here is my script, I think it is not so secure to put your db info on a site script sp if you have any suggestions please tell me. Also if you think any code is out of date or not convenient, please change it and tell me so I can test it out, thanks alot!

[code]

Cars <?php error_reporting(E_ALL); ini_set('display_errors', '1'); $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()); ?> <?php $vehicles = mysql_query("SELECT*FROM vehicles") or die (mysql_error()); while($info = mysql_fetch_array($vehicles)){ ?> <?php } ?>
<?php echo $info['id']; ?> <?php echo $info['make']; ?> <?php echo $info['model']; ?> <?php echo $info['year']; ?>
<?php mysql_close() or die (mysql_error()); ?> [/code]

sorry, now i know where my post went.
I thought the next button mend 2nd page instead of next thread…
srry, disgregard what i wrote

http://www.phphelp.com/forum/index.php?topic=17976.0

Sponsor our Newsletter | Privacy Policy | Terms of Service