> -----Original Message-----
> From: Nehemias Duarte [mailto:ndua...@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?


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.



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.f...@leedsmet.ac.uk 
Tel: +44 113 812 4730

To view the terms under which this email is distributed, please go to 

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

Reply via email to