error77
asked on
Insert data into postgres Database script needed
Hi all,
I need some simple code that does just the following:
Hope the below describes what I need:
<a href="">Save to Database Table</a> //A link here to activate the saving
var $value1='200';
var $value2='blablabla';
etc...
...then something like:
pg_query("INSERT INTO myTable VALUES ('$value1','$value2','$fva lue3','$va lue4')");
echo 'Data has been saved';
//the end
Can anyone help put a script together to do the above please?
Thanks
I need some simple code that does just the following:
Hope the below describes what I need:
<a href="">Save to Database Table</a> //A link here to activate the saving
var $value1='200';
var $value2='blablabla';
etc...
...then something like:
pg_query("INSERT INTO myTable VALUES ('$value1','$value2','$fva
echo 'Data has been saved';
//the end
Can anyone help put a script together to do the above please?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER