SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
Thread: <?PHP vs. <?php: does it matter?
-
Feb 15, 2005, 02:59 #1
- Join Date
- May 2004
- Posts
- 512
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
<?PHP vs. <?php: does it matter?
This is probably one of the dumbest questions ever asked here, but I'd really like to know and did a search before ...
In (X)HTML tags should be lowercase, but for PHP I often see <?PHP instead of <?php - even if the rest of the site's tags are all lowercase.
Is there any reason to use uppercase for this tag? I guess no, or ...?
-
Feb 15, 2005, 03:49 #2
- Join Date
- Feb 2005
- Location
- Chester, Cheshire
- Posts
- 565
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
nope you can use <% and ?> and that would be valid. depending if you php.ini was set up right...
it doesn't make any different if its caps or not.
-
Feb 15, 2005, 04:06 #3
- Join Date
- Jan 2005
- Location
- A dark place in my mind
- Posts
- 48
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
but I wouldn't recommend using <% cause if you'd want to learn asp further on, you'd conflict with the two languages, so, stick with <?php
-
Feb 15, 2005, 04:12 #4
- Join Date
- May 2004
- Posts
- 512
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Thanks a lot for your help!
Bookmarks