I have list of postcodes. And what i'm trying to do is get a listing of similar poscodes only.
My Code:
Code: Select all
$postcode1 = ereg_replace('[^A-Za-z]', '', $postcode);
SELECT * FROM coverparked WHERE postcode LIKE '$postcode1%' ORDER BY postcode
Tried some options but i can't get to make it work..
Can you help me out here please ..
Thanks a lot in advance in advance.