English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

If I had a php page (page.php) that wrote out a form:
echo '

Type ur name
';
that posted to itself (page.php)
Would the variable values from the last iteration/display of that page still be set?

Hope someone gets me.
Cheers

2007-03-26 13:19:22 · 4 answers · asked by adude707 2 in Computers & Internet Programming & Design

In response:
San Francisco's a bit far away to go to find out the answer, unless ur paying the air fare!

2007-03-26 13:24:09 · update #1

I HAT PHP GRRRRR

2007-03-26 13:26:48 · update #2

Is there any method of setting persistence on variables without having to post them?

Rephrase, I hate CGI!

2007-03-27 00:08:50 · update #3

4 answers

Nop! you would have to pass those variables either by session/cookies to make them persistent or sending them with your posting action within a hidden input for example. Or even by a querie_string.

2007-03-26 13:25:25 · answer #1 · answered by cfernandomaciel 2 · 1 0

I don't know this question but you can go to the Zend/PHP Conference & Expo, Oct. 7-11 at the Hyatt in Burlingame, CA (next to San Fran airport). Learn all you want about PHP.

2007-03-26 13:22:15 · answer #2 · answered by Rick 5 · 0 0

on the suitable of your seconf2cdd33eb360af3f76349c3d80a3364d ff2cdd33eb360af3f76349c3d80a3364dle, placed To get the type f2cdd33eb360af3f76349c3d80a3364data f2cdd33eb360af3f76349c3d80a3364dnto a varf2cdd33eb360af3f76349c3d80a3364dable. Then, everywhere you're usf2cdd33eb360af3f76349c3d80a3364dng $f2cdd33eb360af3f76349c3d80a3364df2cdd33eb360af3f76349c3d80a3364d, you neef2cdd33eb360af3f76349c3d80a3364d to echo the varf2cdd33eb360af3f76349c3d80a3364dable between own domicile page tags -

2016-10-20 00:15:25 · answer #3 · answered by ? 4 · 0 0

CGI programs run and end. Variable passing is handled in POST or GET.

If you were using persistance, then YES, this is not a norm....in your case, the answer is 99.9% no.

2007-03-26 15:21:12 · answer #4 · answered by Jeffrey F 6 · 0 0

fedest.com, questions and answers