I'm fairly sure there's no difference in performance when using PHP tags mixed with HTML blocks as you are doing.
Think of it as PHP knowing that it should send everything not in <? ?> tags directly to the browser. Like an echo or a print, but without needing to specify calls to those functions. <HTML> <? echo $PHP_SELF ?> </HTML> <HTML> <?=$PHP_SELF?> </HTML> -----Original Message----- From: markus|lervik [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 11:47 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Performance On Thu, 2001-12-13 at 19:18, Prottoss wrote: > Actually unless this has been changed, when your php script terminates php > automatically closes any mysql connections opened with mysql_connect(). I've noticed that, and up 'till now I haven't had a clue as to where the problem was. Thanks for that bit of information, but it raises another question, at least for me, namely: How would one go about doing, for instance, <FORM ACTION="<?php echo $PHP_SELF?>" METHOD="POST">-tags in that case? Using echo bypasses the PHP-preprocessor and just simply prints out the <FORM> tag. I really wouldn't want to use <FORM ACTION="blah.php">, as I have this <FORM> tag in a nifty function that is called from a bunch of scripts. Cheers, Markus -- Markus Lervik Linux administrator with a kungfoo grip Vasa City Library - Public Library --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php