Problem while doing "insert"

Поиск
Список
Период
Сортировка
Искать

Problem while doing "insert"

От:
Edouard DESSIOUX <edx@intrinsec.com>
Дата:
Hello,

I'm using php Version 3.0.12 to interface
with a postgresql sgbd.

When i'm doing this request :
  $query = "insert into mailing values ('$champs1', '$champs2', display=$myradio)";  $result = pg_exec($connection,$query); if (!$result)   echo "Recommencer"; else   echo "Voir la nouvelle base"; echo "
"; $close = pg_close($connection); if ($close == true) echo ("Déconnection a la base
"); else echo ("Aucune connection a fermer
"); The insert succeed, but it insert 6 or more time the same entry. Have i done something wrong ? -- Edouard DESSIOUX Proverbe chien : "Si ca se mange pas,Si ca se baise pas,Pisse dessus !!"
FAQ