php update problems

Поиск
Список
Период
Сортировка
От Mike Sears
Тема php update problems
Дата
Msg-id 004801c00c93$b3308080$02945bd1@neutrino
обсуждение исходный текст
Список pgsql-general
Having a slight problem w/ my postgres database. for some reaons its no longer updating anymore, and for what reason I'm unsure
 
if I'm right then the below "should" update the table I'm working in, though it doesn't. Is ther indeed something wrong here?

<?
require("dbconect.inc.php");
 
$result = pg_exec($db,
        "UPDATE news
SET date='$date' topic='$topic' body='$body' person='$person'
WHERE date='$date2' topic='$topic2' body='$body2' person='$person2' id2='$id';" );
 
pg_colse($db);
?>
 
Mike

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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Foreign key to all inherited tables
Следующее
От: Andrew McMillan
Дата:
Сообщение: Re: php update problems