Try
mysql_query("SELECT * FROM members WHERE PaidID <> '1' AND ZipCodes LIKE '%".$SEARCH."%'") or die(mysql_error());
//or try
mysql_query("SELECT * FROM members WHERE PaidID = '0' AND ZipCodes LIKE '%".$SEARCH."%'") or die(mysql_error());
If you're not busy you could do it manually, when someone has paid send them the program?
Another thing you could do is instead of protecting the download why not protect the software?
With a license key (only used once) or similar?
I suppose you can use a mysql database or you could do flat file, but don't expect us to write it for you , look into mysql databases and running mysql queries in php.
How can i do that thing like google suggestions ,where if i enter something like
Great Britain
but spell it like
Geat Britian
How can i offer the correct one?
Ok, have you also tried any error reporting
error_reporting(E_ALL);
ini_set('display_errors','On');
?
And echoing the session vars to check if they are correct?
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.