<?php is more reliable - you can configure a server to ignore "<?" as an opening PHP tag (short_tags i think the directive is from memory).
 
for compatibilities sake, you should always use the <?php tag in your coding, but if short tags are enabled, then technically the 2 are the same (both just define a block of PHP code)
 
Beau

--
Beau Lebens
Information Architect
[EMAIL PROTECTED]
Dented Reality - www.dentedreality.com.au
Information Architecture, Usability, Web Development

-----Original Message-----
From: Chris Stratford [mailto:[EMAIL PROTECTED]
Sent: Monday, 8 December 2003 7:07 PM
To: [EMAIL PROTECTED]
Subject: [WSG] PHP Question...

Hey People!

Sorry me again…

 

Wondering, what is the difference between using:

 

<?

/* php code */
?>

 

as opposed to:

 

<?PHP

/* php code */

?>

 

------------------------

Chris Stratford
• [EMAIL PROTECTED]
www.neester.com

------------------------

 

Reply via email to