| От | Dave Perkins |
|---|---|
| Тема | Re: files, php & pgsql |
| Дата | |
| Msg-id | 3.0.6.32.20001018071750.007aa450@shell1.shore.net обсуждение исходный текст |
| Ответ на | files, php & pgsql (Chris <tomcat@weirdness.com>) |
| Ответы |
Re: files, php & pgsql
|
| Список | pgsql-php |
Chris,
I ran a quick test and got the following error: "PostgresSQL query failed:
ERROR: parser: parse error at or near "
"
If the following is how the code is actually formated:
>$sql = "insert into images (picnum, image) values
>(nextval('images_picnum_seq'), '$loid')";
it might be the source of the problem.
Putting the quoted string all on one line as in:
$sql = "insert into images (picnum, image) values
(nextval('images_picnum_seq'),'$loid')";
eliminates this error.
Hope this helps . . .
Cheers,
Dave
В списке pgsql-php по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера