Yes, i use a db_connect.php as a php include file:
<?php
$con = mysql_connect('localhost','mikesp5_test','reggie88');
if (!$con) {
die("Could not connect to MySQL Server" . mysql_error());
}
// echo "Successfully connected to MySQL Server!";
$my_db = mysql_select_db("mikesp5_killer");
if (!$my_db) {
die("Could not connect to database" . mysql_error());
}
// echo "Successfully connected to Database!";
?>
when i remove the comment tags before the echo's they both show up. and i am able to insert data into the database. just not display it for some reason.
also, the SQL does actually select items from the database because when I LIMIT 5 and go to www.ijournalsometimes.com i see 5 empty blog entry templates, so its not getting the the actual text from the database... i hope that makes sense. visit ijournalsometimes.com and you will see it there is as many empty blog entry templates as i wish using LIMIT in my SQL code.
Thank you Ben for the reply