Re: [PHP] Quick questions ?=something?

2004-12-06 Thread Marek Kilimajer
Ryan A wrote: Hey all, Am a bit confused, from the time I learnt PHP (big thanks to this list for helping me) I have used something like this ?php echo $something; ? but when reading someone elses code I sometimes stumble accross this: ?php=something? is this 100% valid php? I have not found it in

Re: [PHP] Quick questions ?=something?

2004-12-06 Thread Ligaya Turmelle
Yeah - it is valid. It is a short hand method for doing what you are doing. I don't know if it is in the manual, but it is in the certification guide. Respectfully, Ligaya Turmelle --- Life is a game... so have fun. --- www.PHPCommunity.org Open Source, Open Community Visit for more

Re: [PHP] Quick questions ?=something?

2004-12-06 Thread Ryan A
?= $string ? means the same as ?php echo $string ? if short_open_tag is on ** It's perfectly valid PHP, I use it all the time on my own sites, but because it's one of those php.ini settings you have a 50/50 chance of finding on (or off!) you shouldn't rely on it unless you know the

Re: [PHP] Quick questions ?=something?

2004-12-06 Thread Matthew Weier O'Phinney
* Marek Kilimajer [EMAIL PROTECTED]: Ryan A wrote: Hey all, Am a bit confused, from the time I learnt PHP (big thanks to this list for helping me) I have used something like this ?php echo $something; ? but when reading someone elses code I sometimes stumble accross this: