Hi, I've just recently started working with PHP and mysql databases and I was trying to implement the phppromembers code from www.gacybertech.com but with little success.
I keeps telling me
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource
I assume therefore that I'm not connecting to my database properly. The code that access the database goes like this
<?php
FileName="Connection_php_mysql.htm"
Type="MYSQL"
HTTP="true"
$hostname_dbConnection = "*";
$database_dbConnection = "";
$username_dbConnection = "";
$password_dbConnection = "*";
$dbConnection = mysql_pconnect($hostname_dbConnection, $username_dbConnection, $password_dbConnection) or die(mysql_error());
require "http://www.nocustard.co.uk/admin/members/Connections/engine.php";
?>
Has anyone got any experience of using this code, or can anyone help me in general?
Dan.