From: | PJ <af(dot)gourmet(at)videotron(dot)ca> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | E_PARSE error ? |
Date: | 2008-06-03 16:14:43 |
Message-ID: | 48456DF3.3020808@videotron.ca |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
I'm using php5, postgresql 8.3, apache2.2.8, FreeBSD 7.0
I don't understand the message:
*Parse error*: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE,
expecting T_STRING or T_VARIABLE or T_NUM_STRING
the guilty line is:
list($page_id)=sqlget("
select page_id from pages where name='$_SERVER['SCRIPT_NAME']'");
the variable value is "/index.php"
however, at the time of execution this has been cleared
So, the question is - What is the unexpected T_ENCAPSED_AND_WHITESPACE?
and What is actually expected? Are we talking about the content of
$_SERVER['SCRIPT_NAME'] or what is the syntax error? This is within php
code; could it be that the parser is reading this as something else,
like HTML?
I'm lost :((
From | Date | Subject | |
---|---|---|---|
Next Message | Steve Crawford | 2008-06-03 16:38:28 | pg_dump: invalid memory alloc request size 4294967293 |
Previous Message | Mason Hale | 2008-06-03 14:43:25 | bloom filter indexes? |