Reply to Re: call php funktion from form

Your name:

Reply:


Posted by Alvaro G Vicario on 06/15/05 12:25

*** Carramba wrote/escribió (Wed, 15 Jun 2005 11:20:57 +0200):
> but does it means that I can reffer in action to some_php_script.php,
> and the from it declaire $foo = $_POST['foo'] and after words call
> function foo_function( $foo ) or foo_function( $_POST['foo'] )?

I guess English is not your mother tongue :) Form fields are created using
HTML. If you don't want to display the form you can make it of hidden type:

<input type="hidden" name="foo" value="Whatever">


> how would it work if functions are in different *.php scrips?

You must understand that PHP is server-side and browsers cannot execute PHP
at all. They merely load URLs and that triggers whatever PHP code you have
placed there.


> if I include
> them it ll work fine, but to by more precises I'am asking if there is a
> way to call different function in different script pages?

Sorry, I can't figure out what you need. You can call as many functions as
you want, just type their names and end each line with a semicolon. But I
suppose you already know that :-?


--
-- Álvaro G. Vicario - Burgos, Spain
-- http://bits.demogracia.com - Mi sitio sobre programación web
-- Don't e-mail me your questions, post them to the group
--

[Back to original 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

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