Hi there I am having a problem with the HTTP_POST_VARS array. Here is the start of the code.....
<?
session_start();
$clubid = $HTTP_POST_VARS("club_select");
$pword = $HTTP_POST_VARS("club_password");
//if user has just tried to log in
if($clubid && $pword) {
$con = db_connect();
if($con) {
mysql_select_db("biggolf", $con);
................
..................
The error is being flagged on the lines involving $HTTP_POST_VARS and go like...
Notice: Array to string conversion in C:\phpWeb\website1.1\login.php on line 4
Fatal error: Call to undefined function: array() in C:\phpWeb\website1.1\login.php on line 4
Could someone please help!
Cheers,
James