This was working. I do not know what I changed but I get:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/tripon/public_html/bta/bbb.php on line 17
//areas = the CSValues for the postal codes from aaa.php
$areas = implode("','",$_POST['mlbl']);
// Select according to the values in areas
$sql = "SELECT AgencyName, Manager, Address1, Address2, Address3, City, RegionISO, Postal FROM tad1 WHERE Postal IN ('".$areas."')";
// Set the results into an array
$res = mysql_query($sql);
//Loop through the array and build the table with values
while ($row = mysql_fetch_array($res)) {
$AgencyName = $row['AgencyName'];
$Manager = $row['Manager'];
$Address1 = $row['Address1'];
$Address2 = $row['Address2'];
$Address3 = $row['Address3'];
$City = $row['City'];
$RegionISO = $row['RegionISO'];
$Postal = $row['Postal'];
$Label_Table .= "<table border = \"1\"><tr><td>\"$AgencyName\"</td></tr><tr><td>\"$Address1\"</td></tr></table>";
}
?>
Appreciate your help
Bob