You are here: Re: return values « PHP Programming Language « IT news, forums, messages
Re: return values

Posted by Geoff Muldoon on 10/19/06 01:46

hinkyeol@gmail.com says...

> in 1st page, there's variable "x1". it's action page is B.
> So, I can use "x1" in B.
>
> $x11 = (int)$_POST['x1'];
>
> B's action page is C
>
> In that case, I want to use "x1" in C.
> So, can I save "x1" in B and use it in C?

In the form on B pass it as a hidden input to C.
<input type="hidden" name="x11" value="$x11">

> for exmaple, can I use following commend in C?
>
> $x22 = (int)$_POST['x11'];

Yes, if you do the above.

GM

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация