Re: Why are my style sheets all listed on one line?
| From: | Freedomware | Date: | Fri, 30 Jan 2004 11:01:18 +0000 |
| Subject: | Re: Why are my style sheets all listed on one line? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-176327@lists.php.net to get a copy of this message | ||
Wow, thanks for the tips. That makes life a lot simpler!
Mike Ford wrote:
Another way you could go, as this is mostly HTML with some PHP values thrown in, is to write it as such -- then all your newlines are present exactly as they appear. This would look something like: By the way, the test if($includea1 == TRUE) should be written as just if($includea1) It has exactly the same outcome, but is both more readable (if you've named your variables suitably) and more efficient (since you've saved the redundant comparison operation).