Posted by Shelly on 10/19/06 20:28
"Chris Hope" <blackhole@electrictoolbox.com> wrote in message
news:4536c656@news.orcon.net.nz...
> affiliateian@gmail.com wrote:
>
>> Just moved web hosts and noticed that this:
>>
>> <?php echo "$f"; ?>
>>
>> used to work when there was an ?f= in the URL like so:
>> http://www.mydomain.com/index.html?f=yes
>>
>> Now it doesn't at the new host.
>>
>> I want to echo out "yes" in the HTML.
>>
>> Any ideas?
I have made it a habit to always write something like that as:
<?php echo '"' . $f . '"'; ?>
or
<?php echo $f; ?>
and I always say <?php
(single-double-single quotes)
Shelly
Navigation:
[Reply to this message]
|