Re: really basic question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux