On Feb 10, 2008 6:30 PM, Ron Piggott <[EMAIL PROTECTED]> wrote:
> What is the command which shows the value of all the variables in
> memory? Ron
get_defined_vars()
-nathan
Page 1
Page 2
echo $_REQUEST['var2'];
//or
echo $_POST['var2'];
//==
//Sometime noticed some glitch with $_POST because sometime PHP think the
data go to $_GET...
//So, to prevent future headache, I use $_REQUEST['var2'] at all time...
//==
Scott
"Comex" <[EMAIL PROTECTED]>
Should also work if you use the POST method...
"Comex" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> <[EMAIL PROTECTED]>
> Onno Kuipers:
> > Jay Blanchard wrote:
> >> [snip]
> >> $var=¨How are you¨;
> >> THE PROBLEM IS THAT I ALSO WANT TO USE $VAR IN SCRIPTTWO.
> >> [/snip]
> >>
>
<[EMAIL PROTECTED]>
Onno Kuipers:
> Jay Blanchard wrote:
>> [snip]
>> $var=¨How are you¨;
>> THE PROBLEM IS THAT I ALSO WANT TO USE $VAR IN SCRIPTTWO.
>> [/snip]
>>
>> Pleace $var in a hidden form element.
>
> I tried... something like this
>
> value=¨¨>
>
> but it doesn't work. Maybe you mean som
Jay Blanchard wrote:
[snip]
$var=¨How are you¨;
THE PROBLEM IS THAT I ALSO WANT TO USE $VAR IN SCRIPTTWO.
[/snip]
Pleace $var in a hidden form element.
I tried... something like this
¨>
but it doesn't work. Maybe you mean something totaly different, can you
show me what you mean.
--
PHP General
Read about sessions in the manual.
Onno Kuipers wrote:
Hello,
If i set a variabele in lets say 'script one'. When i jump into 'script
two', is there a way (without cookies) to read the variable set in
'script one'
Like: SCRIPTONE.PHP:
$var=¨How are you¨;
?>
name:
SCR
[snip]
$var=¨How are you¨;
THE PROBLEM IS THAT I ALSO WANT TO USE $VAR IN SCRIPTTWO.
[/snip]
Pleace $var in a hidden form element.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You are infact not getting a error, your getting a warning, it's perfectly normal for
a very-debugged PHP page to complain about undefined variables and
most people just set the error reporting in there php.ini to "E_ERROR & ~E_NOTICE"
which should remove the warning.
On Wed, 2003-01-22 a
8 matches
Mail list logo