You don't need to create temp tables to hold the distinct results.
You can just add DISTINCT to your query, for the field that you want to be distinct.
$sql = "SELECT DISTINCT(field), * FROM paid WHERE title LIKE '$alph%' ORDER by asc";
where field is the one you want distinct.
The GROUP BY clause will also serve the same purpose.
www.fijiwebdesign.com - web design and development and fun
Cpanel Email - Let users Register email accounts on your website upon registration
Ajax Chat - Fully browser based chat!