Hi Noidea again!!! I am current trying to connect to MySql 5 with php code this is what I have typed
<?php
// Database Specific information
DEFINE ('DB_USER', 'MyUser')
DEFINE ('DB_PASSWORD', 'MyPass')
DEFINE ('DB_HOST', 'localhost')
DEFINE ('DB_NAME', 'MyDB')
// Connect to MySQL and select database:
$dbc = mysqli_connect(DB_HOST, DB_USR, DB_PASSWORD, DB_NAME)
?>
When I run this code I get a blank page which if everything is correct is what I should get but if I change the values of say MyUser to an incorrect value I still get a blank page. Is this code right? Do I have to activate something in MySQL or SME? I used help from this forum and connect to MYSQL with navicat so I know that is working.
I am just confused it is hard being a newbie with noidea.
Thanks in advance
Paul