Jump to content
GIGN Forum

Mājaslapa.


aaE
 Share

Recommended Posts

Mājaslapai erorrs ir pie Online jūseriem.

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in C:\AppServ\www\online.php on line 7

<?

$db=(object)array(

'host'=>'localhost', // Datubazes hosts

'user'=>'xxxx', // Datubazes lietotajs

'pass'=>xxxx', // Datubazes lietotaja parole

'name'=>'forum', // Datubazes nosaukums

'prefix'=>'ibf_members', // Bla, bla

);

$cfg=(object)array(

'offset'=>2, // Minutes kops pedejas aktivitates

);

@mysql_connect($db->host,$db->user,$db->pass)or die('Konekcija nospraga!');

@mysql_select_db($db->name)or die('Datubazi ieselektet neizdevas!');

kā izlabot?

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...