Re: [PHP-DB] I'm completely lost here

2012-08-24 Thread Gary Chambers
David, > Just did that like Richard had suggested also and I do get the expected > results. I suspect I need to put the same thing in my query correct? like > this: > > mysql_query ("INSERT INTO inventory(image, year, make, model, > milage, price)VALUES($_POST['image'], $_POST['year'], $_POST['

Re: [PHP-DB] I'm completely lost here

2012-08-24 Thread Gary Chambers
David, > The database gets updated with a record, but all the fields end up being > empty in the db. Can anyone see what's out of whack here? I'd appreciate > the help. http://pastebin.com/y8kcymnN There isn't much context to your request and I don't see how your table is defined. How are you

[PHP-DB] Pg Transactional Function

2012-08-22 Thread Gary Chambers
/* Release the resources */ pg_free_result($query_resources[0]); pg_free_result($query_resources[1]); pg_free_result($query_resources[2]); return true; } Any comments, criticisms, or suggestions are very much appreciated. Thank you, Gary Chambers -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php