Basically, I need an array to capture the PO num of every record that has a Status of "1". I have no idea how many records that is. I tried to do $po_array=array();, but it doesn't seem to work.
Code below. I am dumb. Make me smart! I can't belive I've gotten this far:
$queryall="SELECT po_num
FROM new_batch
WHERE isStatus = 1";
$result=mysql_query($queryall) or die(mysql_error());
$counter=0;
$unack=array();
while($row=mysql_fetch_array($result)){
$unack[$counter]=$row[$po_num];
echo "Counter: $counter <br/>";
echo "Row: $row[po_num] <br/>";
echo "UnAck: $unack[$counter] <br/>";
$counter++;
UnAck(x) always returns nothing.