sorry i posted this is general discussions, i meant to put it here, apologies
for the repetition...original post was

A Little help!? MySQL


--------------------------------------------------------------------------------

hello, im learning PHP as i go here, and have had a lot of success. However i
am on now on a new project, using a new server, and cant get started!
In trying to establish a MySQL connection, i get an error 405 method not
allowed.
my connection looks like this.

<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_test = "192.168.140.##";
$database_test = "########";
$username_test = "########";
$password_test = "######";
$test2 = mysql_pconnect($hostname_test, $username_test, $password_test) or
trigger_error(mysql_error(),E_USER_ERROR);
?>

Any help here, i cant see what can be wrong. All the usernames and passwords
are correct. im shhhtuck.

Any help much appreciated.

Dave