this belongs in the non-existent java/php combo forums, =./

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Gremlin
Forum Newbie
Posts: 13
Joined: Thu May 02, 2002 7:03 pm
Location: California
Contact:

this belongs in the non-existent java/php combo forums, =./

Post by Gremlin »

I have a LOT of source, so to keep things short, I am posting a url to a .txt file that is my work in progress.

Please,. if you choose to help me, do be respectful of the server.
http://h1.curbstomp.com/css-menus/testing.zip

the source validates as html 4.1 transitional, as does the css.
when stripped of php and javascript it displays fine in both browsers.

when the php is included, it displays fine in both browsers, but there is no data coming back in NS 6.x.x .. Nothing prints out.

when I put back in all the (sorry it is so sloppy) javascript, netscape destroys the site.

Anyone have any guidance here? This has frustrated me to no end.[/url]
Gremlin
Forum Newbie
Posts: 13
Joined: Thu May 02, 2002 7:03 pm
Location: California
Contact:

Post by Gremlin »

also, as an added note.
There is no stylesheet up for aything except ns6 and ie5+

Also, just tested it in the most recent IE, NS (7.1 preview) and Mozilla on the mac side, and nothing displays.

On my ie.6.2 win xp box.. no problems.
Any ideas?
Beefy
Forum Newbie
Posts: 6
Joined: Wed Aug 14, 2002 5:06 am

Post by Beefy »

Perhaps you should use <?php instead of <?, because this seems to be a problem which is related to a misinterpretation of the browser.
I've never tried it, but changing <? in <?php is good anyway, 'cause it is the official standard to type <?php.
MattF
Forum Contributor
Posts: 225
Joined: Sun May 19, 2002 9:58 am
Location: Sussex, UK

Post by MattF »

That would have no effect on the browser, PHP is server side.
Beefy
Forum Newbie
Posts: 6
Joined: Wed Aug 14, 2002 5:06 am

Post by Beefy »

If the short tags are disabled, the PHP code wouldn't be interpreted.
In this case it depends on the browser, what you can see at the page.
Post Reply