How to make php code browser independent

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
chitrapu
Forum Newbie
Posts: 23
Joined: Sun Jan 14, 2007 11:39 pm

How to make php code browser independent

Post by chitrapu »

hi everybody,
I have a php code. There is no problem,but it executes correctly only when I use Internet Explorer. It does not work properly when i open it using Firefox or any other browser. Can u please tel me how to make my code browser independent
jmut
Forum Regular
Posts: 945
Joined: Tue Jul 05, 2005 3:54 am
Location: Sofia, Bulgaria
Contact:

Post by jmut »

that should not be a problem with you php code..but rather html,css etc.
php is server side language...
also be more specific....how do you expect us to help when you don't tell us what is wrong?
doesn't work.....really means nothing.
chitrapu
Forum Newbie
Posts: 23
Joined: Sun Jan 14, 2007 11:39 pm

the code is not working

Post by chitrapu »

i mean to say that the form contents are getting submitted when i use IE but its not the case with other browsers
jmut
Forum Regular
Posts: 945
Joined: Tue Jul 05, 2005 3:54 am
Location: Sofia, Bulgaria
Contact:

Post by jmut »

so I would assume you are using javascript to submit the form.
And javascript is specific for IE.
show some example
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

jmut wrote:And javascript is specific for IE.
That's a very misleading statement. JavaScript can work anywhere if it's written properly.
jmut
Forum Regular
Posts: 945
Joined: Tue Jul 05, 2005 3:54 am
Location: Sofia, Bulgaria
Contact:

Post by jmut »

onion2k wrote:
jmut wrote:And javascript is specific for IE.
That's a very misleading statement. JavaScript can work anywhere if it's written properly.
my bad.. I mean javascript written in this case...is IE dependent
chitrapu
Forum Newbie
Posts: 23
Joined: Sun Jan 14, 2007 11:39 pm

ok so what should i do

Post by chitrapu »

ok so what should I do now. I have tried it out many times but the form is not geting submitted when i open it in a non IE browser
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

I think you need to show us some code so we can see way it is not working.
(#10850)
crazytopu
Forum Contributor
Posts: 259
Joined: Fri Nov 07, 2003 12:43 pm
Location: London, UK
Contact:

Post by crazytopu »

yeah post the code here
Post Reply