Hi, sorry for this newbie question but, how can I move strings from url to a postgre database? Forexample. connection to my apache server comes to url below. http://localhost/script.php?id=1234&type=1&to=1234&time=20041201 I want to have id, type, to and time to be added to a database to fields named the same. What kind that script.php should be? Could someone help me with this, thanx.
$result = pg_query("INSERT INTO table SET id = '" . $_GET['id'] . "', type = '" . $_GET['type'] . "', time = '" . $_GET['time'] . "'");