RE: [PHP-DB] losing MySQL resource

From: Date: Wed, 11 Nov 2009 15:31:08 +0000
Subject: RE: [PHP-DB] losing MySQL resource
References: 1 2 3 4 5 6 7 8 9  Groups: php.db 
Request: Send a blank email to php-db+get-46646@lists.php.net to get a copy of this message
> -----Original Message----- > From: Nehemias Duarte [mailto:NDuarte@aflac.com] > Sent: 11 November 2009 14:25 > To: Stan; php-db@lists.php.net > Subject: RE: [PHP-DB] losing MySQL resource > > I was under the impression that session_start() had to be the FIRST > thing ran in the script. Is this incorrect? Yes. It has to be before any actual *output*, but it would be perfectly valid to have umpteen thousand lines of PHP before session_start() so long as all the output came after it. Cheers! Mike -- Mike Ford, Electronic Information Developer, Libraries and Learning Innovation, Leeds Metropolitan University, C507, Civic Quarter Campus, Woodhouse Lane, LEEDS,  LS1 3HE,  United Kingdom Email: m.ford@leedsmet.ac.uk Tel: +44 113 812 4730 To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm

« previous php.db (#46646) next »