Parse error - Mailing list pgsql-general

From アムス
Subject Parse error
Date
Msg-id 000c01c28d71$640400c0$82962fda@LocalHost
Whole thread Raw
Responses Re: Parse error
List pgsql-general
When I run a php program connected to postgresql, I have the following
error:

"Parse error: parse error, unexpected T_STRING "

The actual code for this part that caused the error is like this:

$sql = "SELECT * FROM appconf ORDER BY sort_order"; <=== This line causes
the error.
$result = @pg_exec($sql);

Do you know what is the unexpected T_STRING error is?

THank you for your help.

Abraham Lee
AMS


pgsql-general by date:

Previous
From: "Alex Cheung Tin Ka"
Date:
Subject: data restore
Next
From: "scott.marlowe"
Date:
Subject: Re: Parse error