|  | Posted by Colin McKinnon on 05/28/05 00:50 
Michael spilled the following:
 > Can this code be improoved? If so how?
 > I am new to php. This is one of my first scripts.
 > Thank you
 >
 > <?
 > define("TEXT_SHIP_TODAY", "<BR><B>Place your order today</B> before
 <snip>
 
 Yes, there is a lot of room for improvement. I sincerely hope that you are
 new to programming.
 
 First, go read a good book on programming (make sure you find out about
 variables, arrays, and constants). Then go read the PHP manual. Than go
 read the PEAR style rules (at pear.php.net).
 
 It should be possible to write something to do the same thing as your
 example with less the 40% of the code you published and make it
 understandable.
 
 HTH
 
 C.
  Navigation: [Reply to this message] |