Timeline for Using HTML in PHP If Statement
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 9, 2012 at 4:02 | vote | accept | Stephen Roda | ||
| Aug 9, 2012 at 3:49 | comment | added | sachleen | Just presenting the available options. :) Personally, I kind of like option 3, but I agree that 2 sucks. | |
| Aug 9, 2012 at 3:46 | comment | added | cori | I know this is a matter of preference, but I find mixed PHP and HTML in the way you describe in the "better" syntax harder to read. That 2nd syntax is just horrible - not just mixed PHP-and-HTML but mixed PHP and mixed-PHP-and-HTML. | |
| Aug 9, 2012 at 3:40 | history | edited | sachleen | CC BY-SA 3.0 |
added 147 characters in body
|
| Aug 9, 2012 at 3:34 | history | answered | sachleen | CC BY-SA 3.0 |