Re: really basic question
| From: | Miles Thompson | Date: | Tue, 06 Sep 2005 23:57:31 +0000 |
| Subject: | Re: really basic question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-221935@lists.php.net to get a copy of this message | ||
Adi,
Every time I was about to ask a question along the lines of "Can you do ...?" or "Is it possible to ...", and really embarrass myself, this thought popped up: "Self, why don't you just try it, and see if it works."
After you try it, and it breaks, that's the time to ask. After all, to the PHP Engine a script is essentially a bunch of functions, or maybe one longish function.
Cheers - Miles
At 06:50 PM 9/6/2005, Adi Zebic wrote:
Hi folks,
It is permited to do something like this in the functions "body"
<?
function test()
{
print("tralala");
do_some_stuff();
?>
<table id="conex" width="167" border="0" cellspacing="0"
cellpadding="0">
<?
print("test function continue here or not?");
waiting_answer();
print("thanks a lot");
}
?>
Thanks a lot,
ADI
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php