Search found 3 matches

by doug_dev
Wed Jul 09, 2003 10:41 am
Forum: PHP - Code
Topic: are if-else statements slow to parse
Replies: 9
Views: 758

thanks

appreciate the insights. better to learn to do it right from the beginning!
by doug_dev
Tue Jul 08, 2003 6:49 pm
Forum: PHP - Code
Topic: are if-else statements slow to parse
Replies: 9
Views: 758

braces?

What do you mean by braces? I am new to this and want to build as clean as possible.

Thanks again for your insights. I tried the speed test, but I am not sure what sort of speed I am looking for.

0.004 was the time on one particular full page I had built. Good? bad?

Thanks.
by doug_dev
Tue Jul 08, 2003 4:24 pm
Forum: PHP - Code
Topic: are if-else statements slow to parse
Replies: 9
Views: 758

are if-else statements slow to parse

I am new to PHP and have the following code to determine what style to give a particular menu item. Is my if-else structure as effecient as possible? and are the if statements time consuming? Is there a better way? - appreciate your insights. the style reference needs to change for each new nav pres...