Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.