Jump to content

Parse error: parse error, unexpected '?' in


morpheus729

Recommended Posts

Please can anybody help me?

 

I receive this error:

Parse error: parse error, unexpected '?' in /home/atchieco/public_html/member_area/config.php on line 5

 

Mysql version is 4.0.16

 

Mysql is : atchieco

 

My database is: ?login

 

My table is: Users

 

The table structure is:

CREATE TABLE ‘Users’ (

‘id’ int(11) NOT NUL auto_increment,

‘Usersname’ text  NOT NUL,

‘Password’ varchar(32) NOT NUL default ‘ ‘,

‘Name’ text NOT NUL,

‘Email’ text NOT NUL,

‘Date’ text NOT NUL,

‘IP’ text NOT NUL,

‘Actkey’ varchar(40) NOT NUL default ‘ ‘,

‘Activated’ int(1) NOT NUL  default ‘0’,

PRIMARY KEY (‘id’)

)

 

The config.php file is this:

 

<?php

$l = mysql_connect ( "localhost" , "atchieco" , "72847284" ) or die("error

connecting: <br><BR>".mysql_error());

mysql_select_db( "atchieco?login" ) or die("Error getting db:

<BR><BR>".mysql_error()); ?>

?>

 

Where is this error ??????

 

Link to comment
https://forums.phpfreaks.com/topic/49447-parse-error-parse-error-unexpected-in/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.