On Mon, 15 Jan 2001 13:57:04 -0800 (PST), jeremy brand
([EMAIL PROTECTED]) wrote:
for ($i=100; $i0; $i++)
print "OPTION VALUE=\\\"$i\\\"/OPTION\n";
But, I presume you would rather do this:
for ($i=100; $i0; $i++)
^^^
should be $i--
print "OPTION
http://www.binarycloud.com/code_standard.html
http://marc.theaimsgroup.com/?l=php-pearm=97603413001842w=2
Best Practices: PHP Coding Style :
http://phpbuilder.com/columns/tim20010101.php3
Smart Architectures in PHP :
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
I think you missed something:
?
connect_to_database();
parse_query();
execute_query();
?
TABLE
?
while (fetch_row_from_query()){
$output = data_from_fetched_row();
$more_output = more_data_from_fetched_row();?
TR
TD?echo $output?/TD
TD?echo $more_output?/TD
/TR
?}?
101 - 104 of 104 matches
Mail list logo