The database is not built yet. That's just it; sorry I wasn't very clear earlier. I need to re-construct the shell of the database on the new host's server before the php will work. Am I not thinking about this correctly? Correct me if I'm wrong but that's the way I see it.
So my challenge as I see it now is how to read the php to know what to name the database, data fields, etc. I'm assuming the code is set to call on/add to the database based on the name, etc. that I've given to it; that is, the names in the php have to match up with the names on the server. Right? If that's correct then where would they be in the code? I've posted some code below. I'm not a programmer, just a HTML coder who plans to not take another job that involves tweeking php and databases. HELP!
FROM shows.php:
<?php require_once('Connections/connBHarris.php'); ?>
<?php
mysql_select_db($database_connBHarris, $connBHarris);
$query_rsShows = "SELECT showDate, showDescription, sortDate FROM shows ORDER BY sortDate DESC";
$rsShows = mysql_query($query_rsShows, $connBHarris) or die(mysql_error());
$row_rsShows = mysql_fetch_assoc($rsShows);
$totalRows_rsShows = mysql_num_rows($rsShows);
?>
FROM connBHarris.php:
<?php
FileName="Connection_php_mysql.htm"
Type="MYSQL"
HTTP="true"
$hostname_connBHarris = "localhost";
$database_connBHarris = "bernardHarris";
$username_connBHarris = "fusion";
$password_connBHarris = "fusion";
$connBHarris = mysql_pconnect($hostname_connBHarris, $username_connBHarris, $password_connBHarris) or die(mysql_error());
?>
NOTE: there are two other rather long php files under a hidden directory for serverscripts.