Hi, Friday, January 17, 2003, 4:44:19 AM, you wrote: PH> Leon Mergen said:
>> Now, first of all, why did you this: >> >> <?php echo("<?xml version=\"1.0\" encoding=\"UTF-8\" ?>"); ?> >> >> and not just: >> >> <?xml version="1.0" encoding="UTF-8" ?> PH> Because short tags are evil ;-) My provider has short tags enabled, so PH> there is no getting around this bit of ugliness. >> only that I personally prefer to call a print() statement for >> everything PH> Do you mean as opposed to echo? PH> If so, would you mind saying a few word as to why? PH> I read that echo is a "language construct." It seems like it would be PH> preferable to print() for this reason. On top of that, it will take PH> multiple strings as input. I think I will remove the parentheses, though. PH> -Peter put it into single quotes and it is a bit tidier :) and you don't need the semi colon if you are ending php parsing. <?php echo '<?xml version="1.0" encoding="UTF-8" ?>'?> -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php