Re: [PHP-DB] Not getting option value from my database...

2009-04-17 Thread danaketh
Can't say for sure where the problem is but seems to me that you're using global variables instead of $_GET and $_POST. After sending the form, you should access it's content using $_POST... if (isset($_POST['get_name'])){ echo "People Id = ".$_POST['GetName'].""; } This should solve th

[PHP-DB] Not getting option value from my database...

2009-04-17 Thread Carol Walter
Hello, I am trying to get an option value from a database. I'm using the following code snippet. This is a postgres 8.3.6 database. I am able to use echo to get a list from the database. The code appears to work, but later when I try to echo the id from the selected record, I get no r