note 109367 rejected from function.pg-insert by danbrown
| From: | danbrown@php.net | Date: | Mon, 16 Jul 2012 15:37:18 +0000 |
| Subject: | note 109367 rejected from function.pg-insert by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-189195@lists.php.net to get a copy of this message | ||
Note Submitter: masentinel at hotmail dot com
----
Hello, I need to do a connection between a form of html to the database of postgresql trought of
php.. the problem start when I put the script:
First to all say that the connection to db is ok..
pg_insert("INSERT INTO Referencia(codpro, codref, desref) VALUES
('$_POST[codpro_value]', '$_POST[codref_value]',
'$_POST[desref_value]')");
this is my scrip tbut don´t works.
My database is called Dimensional
the name of table is Referencia
and the (codpro, codref, desref) are the columns..
Please help me, I need you help..
Thanks