On Thursday 30 January 2003 09:55, Noah wrote: > I don't want to use $_REQUEST['my_passed_variable'] at all. > > Right now when I do an sql insert on my local machine I have to use the > following syntax: > > INSERT into tablename (field name list) > VALUES ($_REQUEST['var1'], $_REQUEST['var2'], $_REQUEST['var3']) > > I just want to use $var1, $var2, $var3
Are you trying to use these inside a function? If so, look up variable scope in the manual. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Most people have a mind that's open by appointment only. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php