Re: [PHP] on style (was mixing PHP and HTML code)

2001-01-12 Thread Alex Black
0-2522 > From: [EMAIL PROTECTED] ("DanO") > Newsgroups: php.general > Date: 12 Jan 2001 12:14:44 -0800 > Subject: [PHP] on style (was mixing PHP and HTML code) > > > the main reason to follow guidelines like this is to make your code legible > and modifiable. &g

Re: [PHP] on style (was mixing PHP and HTML code)

2001-01-12 Thread Mark Maggelet
>i do think that the code standard has some good elements to it, but >it goes >too far to specify a 4-space indent and to specify no spaces within >if >(condition) statements. I don't think it goes too far (I think it should be 3 spaces tho), but until the php guys publish some official style gu

[PHP] on style (was mixing PHP and HTML code)

2001-01-12 Thread DanO
the main reason to follow guidelines like this is to make your code legible and modifiable. i come to PHP from HTML via Perl/CGI, and have inherited some nasty code on sites i have worked on. i've always appreciated code that is structurally formatted. Perl is notorious for its intrinsic flexi