![]() |
|
Thread Tools |
#1
|
||||
|
||||
MySQL Query not working
Hello guys, I'm using the following code to get userid and other stuff from database but everytime a special character like "TM" appears, the query doesn't return any result.
Can you help me with this? Thanks in advance. No members have liked this post.
|
#2
|
|||
|
|||
Try & #153; (no space) instead of ™, also run query from phpmyadmin search for partial matches of "LeO" and see how the database has re-encoded the ™
No members have liked this post.
|
#3
|
||||
|
||||
Why not look at the members profile from admincp to find out his userid
__________________
No members have liked this post.
|
#4
|
||||
|
||||
Can you show us the rest of this code you're using? You might be able to better construct the query.
__________________
Looking for ImpEx?
No members have liked this post.
|
#5
|
||||
|
||||
I suspect that it's a character encoding issue, but I don't know much about handling that kind of thing. I did find this page: https://dev.mysql.com/doc/refman/5.0...t-literal.html, so maybe try
or maybe _utf8 in place of _latin1. The following members like this post: TheLastSuperman
|
#6
|
|||
|
|||
Thanks kh99, it worked.
The following members like this post: TheLastSuperman
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 01:22.