By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,705 Members | 1,371 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,705 IT Pros & Developers. It's quick & easy.

$X > $Y Problem

P: n/a
I'm editing my PHP with MS Front Page and use PHP Rocket. The following is
happening.

In my code, I have:

if ($X > $Y) { .......

When I switch to "Normal" mode, all my PHP code beginning with $Y is
displayed on the web page. NOTE: The PHP code does not show when I display
in the browser.

If I change to

if($Y < $X) { .....

The PHP code is not displayed in web page.


Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Carved in mystic runes upon the very living rock, the last words of
Bruce A. Julseth of comp.lang.php make plain:
I'm editing my PHP with MS Front Page
I'm sorry.
and use PHP Rocket. The following is happening.

In my code, I have:

if ($X > $Y) { .......

When I switch to "Normal" mode, all my PHP code beginning with $Y is
displayed on the web page. NOTE: The PHP code does not show when I
display in the browser.


This sounds more like a FrontPage and/or PHP Rocket problem than a PHP
problem. If they have NG's you might have more luck asking there.

--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/
Jul 17 '05 #2

P: n/a
In article <3f********@news1.prserv.net>, br*****@attglobal.net says...
I'm editing my PHP with MS Front Page and use PHP Rocket. The following is
happening.

In my code, I have:

if ($X > $Y) { .......

When I switch to "Normal" mode, all my PHP code beginning with $Y is
displayed on the web page. NOTE: The PHP code does not show when I display
in the browser.

If I change to

if($Y < $X) { .....

The PHP code is not displayed in web page.


I imagine that < and > are being helpfully translated by FrontPage to &lt;
and &gt; respectively - try a 'view source' on the page to see. If this is
the case, I imgine there is some configuration adjustment required
probably in FrontPage.

--
Quod subigo farinam

$email =~ s/oz$/au/o;
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet?
Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.