I have this PHP Code that selects from a database and creates an array with the data
$sql="SELECT * from voip_emergency_services_data ";
$rs=mysql_query($sql,$conn) or die(mysql_error());
if(mysql_num_rows($rs) > 0)
{
while($result=mysql_fetch_array($rs))
{
$ListData1[] = $result["number"];
}
}
this one does the same on a different table, also connecting to a different database on a different server
$sql="SELECT * from channel_did ";
$rs=mysql_query($sql,$pbx01_conn) or die(mysql_error());
if(mysql_num_rows($rs) > 0)
{
while($result=mysql_fetch_array($rs))
{
$ListData2[] = $result["did"];
}
}
how can i match the data in both of the Arrays and then display what does not match
for example, each row in the channel_did table should match with a row in the voip_emergency_services_data table based on the did column and the number column
FEDERATEDstorage engine to link them?