Re: Form Variables not getting passed || Apache, MySql, Win 2k Setup
| From: | Jason Wong | Date: | Wed, 29 Jan 2003 22:59:38 +0000 |
| Subject: | Re: Form Variables not getting passed || Apache, MySql, Win 2k Setup | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-133566@lists.php.net to get a copy of this message | ||
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.
*/