![]() |
| |||
| 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 |
| |||
| 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 |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
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 |