On Friday 09 April 2004 22:24, Ryan A wrote:

> > If that is the case you could modify your insert query:
> > INSERT INTO table (id, name) VALUES ('$id', '$name')
>
> No, thats not the problem, its inserting the text "$id" and "$name" instead
> of the
> values the variables hold.

Don't use single quotes.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Do Miami a favor.  When you leave, take someone with you.
*/

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

Reply via email to