Re: Parse error
От | John Burski |
---|---|
Тема | Re: Parse error |
Дата | |
Msg-id | 3DD6A8DB.8010609@cloudnet.com обсуждение исходный текст |
Ответ на | Parse error (アムス <ams@asiams.com>) |
Список | pgsql-general |
You might check for a typographical error in a preceding line. I *think" that the "unexpected T_STRING" error means that the parser ran across a new constant string that it didn't expect to see. アムス wrote: >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 > > >---------------------------(end of broadcast)--------------------------- >TIP 3: if posting/reading through Usenet, please send an appropriate >subscribe-nomail command to majordomo@postgresql.org so that your >message can get through to the mailing list cleanly > >. > > > -- John Burski @home S.I.M.U. (Well, sometimes I am) ... and still searching for new cheese
В списке pgsql-general по дате отправления: