php mysql query breaks when var sent from safari

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pedalpete
    New Member
    • Oct 2007
    • 109

    php mysql query breaks when var sent from safari

    I know this doesn't sound right as how can php be different in safari vs ie/ff, but i've been updating a genre list on my page to a tag cloud.

    When submitting the form using ie/ff the tag is sent properly, and the response is correct.
    When submitting from safari or chrome, the tag is sent properly (i've left the alert in place), and you can see that the variable is recieved in php properly, but then the query returns no results.

    This only affects multi-word genres from the tag cloud. How is this possible?
    I suspected that Safari was adding some sort of '+' or '%20' characters into the spaces, but I've tried stripping those out of the PHP, and they are never showing up in the alert either, so that isn't the issue.

    Here's a link to the test page. You can see the error by selecting a multi-word genre (the genres change depending on what is coming near you, so just pick any multi-word like 'folk rock' or 'roots music').
    If you compare the results in IE/FF vs. Safari/Chrome, you'll see the difference.

    http://zifimusic.com/v3

    Thanks, sorry for the strange request.
    Pete
  • vetrib2w
    New Member
    • Aug 2008
    • 14

    #2
    I don't see any difference.I tested in ff and chrome.and your drop down search calender looking wried in chrome and i cant pick a date in ff(calender is popping in and out simultaneously) .

    Comment

    • pedalpete
      New Member
      • Oct 2007
      • 109

      #3
      You hit the nail right on the head. You won't SEE a difference. The genres look the same. but if you select a two word genre in FF and submit the search, you'll get results. A two word genre in Chrome or Safari will always return 0 results.
      This is the problem.

      The funky calendar display is fixed in prod, and I'm working on fixing the 'popping in and out' issue.

      Thanks for the help


      Originally posted by vetrib2w
      I don't see any difference.I tested in ff and chrome.and your drop down search calender looking wried in chrome and i cant pick a date in ff(calender is popping in and out simultaneously) .

      Comment

      Working...