This is PHP code connecting with SQL. The issues keep populating within the while loop portion all
Fantastic news! We've Found the answer you've been seeking!
Question:
This is PHP code connecting with SQL. The issues keep populating within the while loop portion all the way to the end, it will tell me not to use echo but then more errors happen if I don't use echo. Really just need to know how to fix this, I'm sure it's some issue within me not using a ; or a comma somewhere.
Week 8 Guided Activity
CUST_ID | CUSTOMER | ITEM | DATE | AMOUNT |
---|---|---|---|---|
" . $amount = $row['amount'] == 0 ? '' : number_format($row['amount']) echo " | " $CUST_ID . " | ";". $row['name'] ." | ";".$row['item']." | ";". $date('F, D, Y', strtotime($row['date'])) . " | ";
TOTAL | =number_format($total)?> |