+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 10 of 11

Thread: PHP not working properly with IE?

  1. #1
    babyboy808's Avatar
    babyboy808 is offline Wannabe Geek babyboy808 will become famous soon enough
    Join Date
    Jan 2007
    Location
    everywhere
    Posts
    413
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default PHP not working properly with IE?

    Ok, got a really strange one here I think, I haven't come across it before, although I am awake over 30 hours so I could be missing something really silly now.

    Anywho go to this section of the problem site with internet explorer: Site and try and filter the results. (Just click free trial for instance) - It doesn't work at all for me and I haven't a clue what's happening. But if you use firefox, it works fine.

    PHP shouldn't care what browser you use, I just don't get it.

    Have any of you ever come across something like this before??
    Last edited by babyboy808; 12-02-2009 at 06:09 PM.

  2. #2
    louie's Avatar
    louie is offline Senior Member louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough
    Join Date
    Jan 2006
    Location
    Dublin, Ireland
    Posts
    2,328
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Is not an IE problem but codding issue.
    You have an id for the checkbox but the name is not the same
    PHP Code:
    <input id="trial" value="checked" name="free_trial" type="checkbox" />
    // change it to "free_trial" or both to trial depending on the php Array
    <input id="free_trial" value="checked" name="free_trial" type="checkbox" /> 
    :. Web Design & Development Web Design Ireland
    :. Search Engines Optimization Search Engines Optimization
    :. Car Parts & Accessories Car Parts
    :. Cars Ireland Cars Ireland
    :. I Have 2 Find It Directory SEF Directory

  3. #3
    babyboy808's Avatar
    babyboy808 is offline Wannabe Geek babyboy808 will become famous soon enough
    Join Date
    Jan 2007
    Location
    everywhere
    Posts
    413
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Thanks for the reply Louie. unfortunately that doesn't work either, same story

  4. #4
    louie's Avatar
    louie is offline Senior Member louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough
    Join Date
    Jan 2006
    Location
    Dublin, Ireland
    Posts
    2,328
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    What's your php code like?
    What form field are you looking for?
    :. Web Design & Development Web Design Ireland
    :. Search Engines Optimization Search Engines Optimization
    :. Car Parts & Accessories Car Parts
    :. Cars Ireland Cars Ireland
    :. I Have 2 Find It Directory SEF Directory

  5. #5
    louie's Avatar
    louie is offline Senior Member louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough
    Join Date
    Jan 2006
    Location
    Dublin, Ireland
    Posts
    2,328
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    BTW you never changed the checkbox name and id so of course is going to be the same.
    :. Web Design & Development Web Design Ireland
    :. Search Engines Optimization Search Engines Optimization
    :. Car Parts & Accessories Car Parts
    :. Cars Ireland Cars Ireland
    :. I Have 2 Find It Directory SEF Directory

  6. #6
    babyboy808's Avatar
    babyboy808 is offline Wannabe Geek babyboy808 will become famous soon enough
    Join Date
    Jan 2007
    Location
    everywhere
    Posts
    413
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Quote Originally Posted by louie View Post
    BTW you never changed the checkbox name and id so of course is going to be the same.
    I checked it here on my local version.

    What's your php code like?
    What form field are you looking for?
    FlickRental.co.uk - DVD Rental

  7. #7
    louie's Avatar
    louie is offline Senior Member louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough
    Join Date
    Jan 2006
    Location
    Dublin, Ireland
    Posts
    2,328
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    change this line here

    $free_trial = $_REQUEST["free_trial"];
    //change to
    $free_trial = !empty($_POST["free_trial"]) ? "checked" : "";
    echo "variable=".$free_trial." - post=".$_POST["free_trial"];
    :. Web Design & Development Web Design Ireland
    :. Search Engines Optimization Search Engines Optimization
    :. Car Parts & Accessories Car Parts
    :. Cars Ireland Cars Ireland
    :. I Have 2 Find It Directory SEF Directory

  8. #8
    babyboy808's Avatar
    babyboy808 is offline Wannabe Geek babyboy808 will become famous soon enough
    Join Date
    Jan 2007
    Location
    everywhere
    Posts
    413
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Same story Louie - What the hell is going on???

  9. #9
    babyboy808's Avatar
    babyboy808 is offline Wannabe Geek babyboy808 will become famous soon enough
    Join Date
    Jan 2007
    Location
    everywhere
    Posts
    413
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Got it working, it appears ie/opera doesn't like me using an image for the submit button

    <input type="submit" value="submit" name="submit" />

  10. #10
    louie's Avatar
    louie is offline Senior Member louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough
    Join Date
    Jan 2006
    Location
    Dublin, Ireland
    Posts
    2,328
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    But on the link above you have a button that does the submission.
    :. Web Design & Development Web Design Ireland
    :. Search Engines Optimization Search Engines Optimization
    :. Car Parts & Accessories Car Parts
    :. Cars Ireland Cars Ireland
    :. I Have 2 Find It Directory SEF Directory

+ Reply to Thread
Page 1 of 2
1 2 LastLast

Similar Threads

  1. Replies: 20
    Last Post: 20-01-2010, 06:55 PM
  2. Best tools for working with feeds?
    By blacknight in forum Affiliate Programs
    Replies: 3
    Last Post: 07-04-2008, 12:51 AM
  3. working in australia?
    By brianbroken in forum Webmaster Discussion
    Replies: 3
    Last Post: 31-08-2007, 11:53 PM
  4. Logo on my website not aligning properly
    By dude in forum Coding Help
    Replies: 14
    Last Post: 06-04-2007, 04:38 PM
  5. New site not displaying properly in NS7.1? Any advice?
    By shanediffily in forum Coding Help
    Replies: 2
    Last Post: 29-09-2006, 03:29 PM

Visitors found this page by searching for:

Nobody landed on this page from a search engine, yet!
SEO Blog

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Optimization by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64