Ciarán Mc Cann
New Member
Well I have a MySQL database of over 1254 entrys and one the columns is address.And the address are all in the kildare area, so they all have kildare at the end of them. for example
The words that would be put into the seach would be the last thing before kildare in my example above it is "The Curragh". any idea's on what i could do?
Kind Regards
Ciaran Mc Cann
I cant use this as it throws up almost the hole database22 Orchard Park The Curragh Co Kildare
PHP:
// Retrieve all the data from the table
$result = mysql_query("SELECT * FROM PLANNING_APPLICATIONS WHERE DEVELOPMENT_LOCATION LIKE '%$bylocation%'")
or die(mysql_error());}
Kind Regards
Ciaran Mc Cann