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['make'],
> $_POST['model'], $_POST['milage'] , $_POST['price'])");

I might be stating the obvious here, but you should really validate your input. 
 If this is just an exercise or a simple test, that will work.  If it's an 
application that, especially, is accessible on the internet, you definitely 
need to validate and ensure that you're receiving sane input.

--
Gary
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to