Re: Parse error: parse error, unexpected T_VAR
- From: "Rik" <luiheidsgoeroe@xxxxxxxxxxx>
- Date: Wed, 26 Oct 2005 10:35:16 +0200
Carl wrote:
> carlton wrote:
>> The following code extract generates ab unexpected T_VAR error at
>> line
>> 63. Note the line numbers have been added.
>> I am running PHP 4.3.8, apache 2 on Linux mandrake 1.1 official
>> 52 /
>> 53 // connect to the mysql server
>> 54 //
>> 55 $link = mysql_connect('localhost', 'mysql_user',
>> 'mysql_password'); 56 if (!$link) {
>> 57 die('Could not connect: ' . mysql_error());
>> 58 }
>> 59 print("<h2> connected to server - <I>so far so good<\I><\h2>\n\n"
>> 60 //
> <...snip>
> Hint: I don't think that line 59 does what you think it does...
>
Yup,
;
Grtz,
Rik
.
- References:
- Parse error: parse error, unexpected T_VAR
- From: carlton
- Re: Parse error: parse error, unexpected T_VAR
- From: Carl
- Parse error: parse error, unexpected T_VAR
- Prev by Date: Re: '?' usage
- Next by Date: Re: Simple Web site builder
- Previous by thread: Re: Parse error: parse error, unexpected T_VAR
- Next by thread: Re: Parse error: parse error, unexpected T_VAR
- Index(es):