You are here: Re: form values to multiple .php files?? « All PHP « IT news, forums, messages
Re: form values to multiple .php files??

Posted by NC on 10/13/12 11:26

needatic...@mail.com wrote:
>
> <form name="NAME" method="post" action="./myfile.php">
>
> myfile is where all the values go, but I also need:
>
> $mobile to go to a separate mobile.php file
>
> and
>
> $comment to go to comment.php

And the user is supposed to see the output of which script(s)?

> The result of myfile.php will probably cause a redirection and I need
> $mobile and $comment to have already been processed and be ready for
> the page that is the final redirection.

You could always include() mobile.php and comment.php in myfile.php.
If you don't want their output to be displayed, buffer it using
ob_*() functions.

Cheers,
NC

 

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

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