View Single Post
  #2 (permalink)  
Old Nov 3rd, 2006, 15:55
ukgeoff ukgeoff is offline
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problem with Programming

Your sql error is because the line, right of the '=' sign starts with a " but there is no closing " and following the opening " you have the concat operator but there is nothing to concatonate, as far as I can see.

As soon as a page starts being processed by the server, header information is sent unless you start your page with;
Code: Select all
<?php
   ob_start();
?>
This turns on output buffering.

Once you have finished making decisions in your code that effect header information, you have the code;
Code: Select all
<?php
   ob_end_flush();
?>
Which as you may have guessed flushes the output buffer.
Reply With Quote