Kahuki Webmaster Forum and Discussion Community  

Go Back   Kahuki Webmaster Forum and Discussion Community > Website Development & Management > Programming > PHP



Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-08-2007, 10:55 PM
Member
 
Join Date: Aug 2006
Posts: 52
Walin is on a distinguished road
Question Mysql Search Problem Unicode Spaces?

I have a database setup with track names and titles for songs. When querying the database and using a standard space to seperate words, it doesn't return any results. For example, a search for 'Sammy Davis' yields no results, however, a search for 'Sammy', returns results with 'Sammy Davis'. So I copied and pasted the space in between 'Sammy' and 'Davis' from a row, and pasted it for my query, then it worked. My question is, are there seriously different kinds of spaces? Since that seems to be the case, how do I convert all the spaces in my DB to the right kind (the kind my spacebar generates).

Thanks for all your help, this one is stuuuuumping me big time.

-Sim

Reply With Quote
  #2 (permalink)  
Old 01-09-2007, 02:17 AM
Rookie
 
Join Date: Sep 2005
Posts: 3
slavic is on a distinguished road
You don't indicate the environment you are using to query the database (web form? command line? GUI of some sort?) so it's difficult to guess where the problem lies.

The best advice I could give you is to use FULLTEXT searching.

http://dev.mysql.com/doc/refman/5.0/en/fulltext-search.html

Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
asp.net listing directories with spaces in name doesn't work? Suk Programming 1 05-25-2007 03:37 PM
How to Update MYSQL database table based on mysql query array? blackfox PHP 2 03-30-2007 02:11 AM
MySQL problem? Eric_Storm PHP 2 03-14-2007 05:02 AM
MySQL & MySQL Server Removal Help Needed Please? I feel so dumb to be this damn smart!? blackfox PHP 1 11-26-2006 06:27 PM
Zulu Pad "PHP MYSQL program exactly like ZuluPad that you can put up on a web server and sync to MYSQL? baggiho PHP 1 10-10-2006 07:24 AM


All times are GMT. The time now is 10:12 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0