PDA

View Full Version : help with radio panel +rep for al help



VPSwow
05-05-2006, 05:14 PM
Hey i have added a radio pannel to my site and it keeps saying


Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/habbost/public_html/staff/dj/sql.php on line 5

when i try to click install to test it, can any1 help

Johno
05-05-2006, 05:43 PM
Well go to the file

And change the file till it matches with the correct MySQL database

VPSwow
05-05-2006, 05:44 PM
what shall i put in the file (html wise)

Johno
05-05-2006, 05:53 PM
Just change the file to what your MySQL database is

Example -

<?php
//MySQL Hostname
$hostname = 'localhost';

//MySQL Database Username
$sqlname = 'THE USER YOU INSERTED INTO THE DATABASE';

//MySQL Database Password
$sqlpass = 'THE PASS TO THE USER YOU INSERTED TO THE MYSQL';

//MySQL Database Name
$mysqldb = 'THE DATABASE NAME';

$connection = mysql_connect($hostname, $sqlname, $sqlpass) or die("Couldn't select database.");
$db = mysql_select_db($mysqldb, $connection) or die("Couldn't select database.");
?>

As i know this is the RadioPanels Panel :P

Want to hide these adverts? Register an account for free!