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

php mysql query breaks when var sent from safari

100+
P: 110
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
Oct 3 '08 #1
Share this Question
Share on Google+
2 Replies


P: 14
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).
Oct 15 '08 #2

100+
P: 110
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


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).
Oct 16 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.