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