
Help...
I am have just started working with php and need some help. I
have a hosted site I am working with php and mysql. I can connect
to the mysql databse and set recordsets and server behaviors. The
problem occurs when I upload the page...nothing shows up. I have
done some investigation and this is what I have discovered. I am
pretty sure it has something to do with the connection file and how
it is getting pointed to. Here is the code I am working with.
Now if I remove this line the one pointing to the connection
file <?php virtual('/Connections/connAdmin.php'); ?> and
replace it with this <?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_connAdmin = "getascendent.ipowermysql.com";
$database_connAdmin = "trial_users408";
$username_connAdmin = "asc302";
$password_connAdmin = "myphp";
$connAdmin = mysql_pconnect($hostname_connAdmin,
$username_connAdmin, $password_connAdmin) or
trigger_error(mysql_error(),E_USER_ERROR);
?>
it all appears as it should.
Can someone point me in the right direction.
Any help is greatly appreciated...