Hi, On Sun, 23 Dec 2001 18:38:45 +0100 "Gabor Hojtsy" <[EMAIL PROTECTED]> wrote:
> What do others think about that? I give a +1 for adapting the PEAR coding standard for Manual examples. Some things must be recognized. At first PEAR does have a excellent error handling, but it is to complex to intoduce it inside of examples in the PHP manual. Nevertheless error handling is needed. I vote for the 'or die()' construct where needed (e.g. mysql_connect() and friends). As Slawomir Pucia said some mails ago, we should be consistent about using ' or " for strings (+1 for ' where no metachars or variables need to be parsed). $variables shoud be concatenated with '. instead of using "$var strng". Lowercase <html>-tags. "Don't use "$query='...'; mysql_query($query)" when its not needed." Be consistent with echo or print(f) (+1 for echo). > Merry Christmas and a Happy new year to you Egon, and > to everybody reading these mails. :) the same to you. Jan -- Q: Thank Jan? A: http://geschenke.an.dasmoped.net/