Thanks Jason
I had two files with this problem the first file was corrected immediately with the reordering.
The second file creates the following messages. I checked there are no spaces in between tags.
Warning: Invalid argument supplied for foreach() in /home/jh10/boat-for-sale.co.uk/webassist/file_manipulation/helperphp.php on line 78
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/jh10/boat-for-sale.co.uk/webassist/file_manipulation/helperphp.php:78) in /home/jh10/boat-for-sale.co.uk/webassist/email/mail_php.php on line 274
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/jh10/boat-for-sale.co.uk/webassist/file_manipulation/helperphp.php:78) in /home/jh10/boat-for-sale.co.uk/webassist/email/mail_php.php on line 274
Warning: Cannot modify header information - headers already sent by (output started at /home/jh10/boat-for-sale.co.uk/webassist/file_manipulation/helperphp.php:78) in /home/jh10/boat-for-sale.co.uk/BoatAds180/boat_insert_images.php on line 386
I am attaching the zipped file