I currently have this code that's working just fine:
while ($row = mysqli_fetch_array($popupResult)) {
$popupQuote = $row['quoteNumber'];
$popupExp = $row['quoteCustomer'];
$popupCost = $row['quoteExpirationDate'];
}
My only issue is that the data in my table that contains what I want in $popupQuote COULD have quoteNumber populated, or it could have debitNumber populated - but it will never have both. I need this basically:
$popupQuote = $row['quoteNumber'] or $row['debitNumber']
If I use $popupQuote = $row['quoteNumber'];, I get 6 results. If I use $popupQuote = $row['debitNumber']; I can 4 results. I want the output to display all 10 results in a single variable.