Re: What is ? Mean in the Action Box

From: Date: Thu, 31 Jan 2002 10:10:11 +0000
Subject: Re: What is ? Mean in the Action Box
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-82898@lists.php.net to get a copy of this message
From: "val petruchek" <petruchek@zsu.zp.ua> To: "PHP" <php-general@lists.php.net> Sent: Thursday, January 31, 2002 10:40 AM Subject: Re: [PHP] What is ? Mean in the Action Box > > Dear all > > I had open a webpage which design from my company's pervious staff! > > This page is a input form, and when i look at the properity of the Form i > > saw this: > > > > form name="o_form" action="deposit_admin.php?save=yes" > > method="post" > > > > What is the "?" mean in the Action part? > > > > > after ? goes the list of parameters deposit_admin.php will get as variables > ($yes or $HTTP_GET_VARS[yes]) Other way round: with mypage.php?save=yes you'll have $save which contains 'yes'* and not $yes containing 'save'. But I think this was a kind of typo ;-) (*$HTTP_GET_VARS['save'] works also. And use that quotes $array['E_ERROR'] is not the same as $array[E_ERROR]! The second is a constant and thats not what you _really_ want even if php normally correctly converts it to a string) best regards Stefan Rusterholz > Valentin Petruchek (aki Zliy Pes) > *** Cut the beginning *** > http://zliypes.com.ua > mailto:val@zliypes.com.ua

« previous php.general (#82898) next »