Go Back   Novahq.net Forum > Computers > Web design and Programming
FAQ Community Calendar Today's Posts Search

Web design and Programming Discuss website creation and other programming topics.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-23-2005, 06:13 PM
Webviper2006 is offline Webviper2006
Registered User

Join Date: Nov 2005
Posts: 495

PHP Tags

Ok I need help. Are these the same?

PHP Code:
<?

?>
and

PHP Code:
 <?PHP

?>
Are they?
__________________
Sorry bums, now I'm back! Now I know C++! I use Microsoft Visual C++!
Reply With Quote
  #2  
Old 12-23-2005, 06:23 PM
DevilDog#1 is offline DevilDog#1

Join Date: Jul 2002
Posts: 7,040

Yes. Depends on your preference of usage. Industry standards though prefer the latter ones.
__________________








Quote:
If I don't do that doesn't mean I can't - DD#1
Reply With Quote
  #3  
Old 12-24-2005, 01:24 AM
JonM is offline JonM
Registered User

Join Date: Jun 2004
Posts: 2,156

Re: PHP Tags

Quote:
Originally posted by Webviper2006
Ok I need help. Are these the same?

PHP Code:
<?

?>
and

PHP Code:
 <?PHP

?>
Are they?
They are the same. If you were programming a script for someone, or a script for widespread use, use the
PHP Code:
<?php
?>
tags...they are as said earlier industry standard, and <? ?> will not work on some servers for an odd reason that is unknown to me, p told me, but i forgot
Reply With Quote
  #4  
Old 12-24-2005, 08:08 AM
IcIshoot is offline IcIshoot

Join Date: Mar 2004
Location: Farmington Hills, MI
Posts: 1,473

Send a message via AIM to IcIshoot Send a message via MSN to IcIshoot Send a message via Yahoo to IcIshoot
Re: Re: PHP Tags

Quote:
Originally posted by -Elite-
They are the same. If you were programming a script for someone, or a script for widespread use, use the
PHP Code:
<?php
?>
tags...they are as said earlier industry standard, and <? ?> will not work on some servers for an odd reason that is unknown to me, p told me, but i forgot
Probably because short_open_tags wasn't set to 1 in the php.ini. If configured to do so, you can even use the asp tags <% %>
Reply With Quote
  #5  
Old 12-24-2005, 11:35 AM
Webviper2006 is offline Webviper2006
Registered User

Join Date: Nov 2005
Posts: 495

So what sould I use. And of couse I'm not making it for someone.
__________________
Sorry bums, now I'm back! Now I know C++! I use Microsoft Visual C++!
Reply With Quote
  #6  
Old 12-24-2005, 11:48 AM
DevilDog#1 is offline DevilDog#1

Join Date: Jul 2002
Posts: 7,040

PHP Code:
<?php  ?>
__________________








Quote:
If I don't do that doesn't mean I can't - DD#1
Reply With Quote
  #7  
Old 12-24-2005, 12:35 PM
Webviper2006 is offline Webviper2006
Registered User

Join Date: Nov 2005
Posts: 495

Ok thanks man.
__________________
Sorry bums, now I'm back! Now I know C++! I use Microsoft Visual C++!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
2 new tags Rayne. Sigs and Graphics 11 07-08-2006 12:21 PM
meta tags HatToN Web design and Programming 1 09-22-2004 10:09 PM
Battle Tags crimsonpunker Feedback / Novahq.net Support 2 06-03-2004 04:53 PM
Tags Nikechicet Gaming Talk 0 04-01-2003 11:24 PM
Squad Tags Steve News 1 11-03-2002 06:05 PM


All times are GMT -5. The time now is 04:50 PM.




Powered by vBulletin®