Re: [GENERAL] ' syntax (using PHP3)

Поиск
Список
Период
Сортировка
От Natalya S. Makushina
Тема Re: [GENERAL] ' syntax (using PHP3)
Дата
Msg-id 01BEACEC.B2000E40@makushina.rtsoft.msk.ru
обсуждение исходный текст
Список pgsql-general
You must write
select * from table where field like '$txt';
The symbol ' must be around the variable.

Sorry for bad English.

Good luck,
Natalya S. Makushina
Webmaster RTSoft Co.
Telephone: (095)742-68-28
E-mail: mak@rtsoft.msk.ru
WWW: http://www.rtsoft.ru

From :        amarof [SMTP:amarof@marwan.ac.ma]
Date :           5 июня 1999 г. 19:45
To :        pgsql-general@postgreSQL.org
Subject :        [GENERAL] ' syntax (using PHP3)

i got your answers about the syntax, it works with the strings, but when

etat takes a variable value, it gives a parser error. example : select *

from table where field like $txt
the error occurs when txt takes the value (doctortat d'etat).
thanks






В списке pgsql-general по дате отправления:

Предыдущее
От: srcho@newcc.co.kr (songraeCHO)
Дата:
Сообщение: How to use korean in Postgres6.4.2
Следующее
От: tolik@icomm.ru (Anatoly K. Lasareff)
Дата:
Сообщение: Re: [GENERAL] Text function problem