I need to work off 2 separate databases. One blank application should work by reading table-1 using database connection-1
and by changing the connection to create table-2 using database connection-2 but this did not work and was told by Scrptcase to create
two separate blank applications for this to work.
Problem: I have many records to process but the first blank application is not processing all records selected. It only reads
the first record and stops, as you can see the second application is called within the WHILE LOOP but for some reason
it only reads the first record and stops.
$queryc = "SELECT * FROM vicidial_list WHERE status LIKE '%V' AND processed_flag <> 'Y'";
if (!$queryc)
{
die('Bad Read on Vicidial_list Table: ’ . mysql_error());
}
$rsltc = mysql_query($queryc) or die(mysql_error());
while($row = mysql_fetch_array($rsltc))
{
[row0] = $row[0];
[row1] = $row[1];
[row2] = $row[2];
sc_redir(blank_vicidial2_part2);
}