Re: Functions

From: Date: Wed, 10 Jan 2001 16:18:58 +0000
Subject: Re: Functions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-33690@lists.php.net to get a copy of this message
<? function showfunction() { echo "Show Function<br>\n"; } function returnfunction() { return "showfunction<br>\n"; } showfunction(); echo returnfunction(); ?> Chris Lee Mediawaveonline.com "Augusto Cesar Castoldi" <castoldi@inf.ufsc.br> wrote in message news:Pine.GSO.4.10.10101101404540.1072-100000@juno... > How do I use a function? > > I did: > > function ShowMessage { > echo "Show message...\n"; > } > > How can I call the function now? > > thanks, > > Augusto Cesar Castoldi > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#33690) next »