note 32197 deleted from function.create-function by alindeman

From: Date: Tue, 20 May 2003 11:28:37 +0000
Subject: note 32197 deleted from function.create-function by alindeman
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-48653@lists.php.net to get a copy of this message
Note Submitter: rick@dangerous.com ---- if you wanna use a function as an alias of a longer code such as functions in javascript, you should simply make an include of a file which contains the full code. Posted this 'cos this was my situation and i wasted a lot of time trying tu use php functions like JS functions. If anyone knows how to do this without including a file (which can be slow and annoying) please send a mail. exemple of what id like to do : $func = //function id like to know if ($a==1) { do this } else { do that } this would help including just a variable into a html file which is already included into a php file.

« previous php.notes (#48653) next »