I’m having some issues with formatting. I figured out how to add a table within a loop to output the data. But I need some help adding alternate row colors to this table. Could html5 be used?
This is what I have so far
echo “
” .$row[‘firstname’]. “ | ”. $row[‘lastname’]. “ | ”;” .$row[‘address’]. “ | ”. $row[‘city’]. “ | ”;” .$row[‘state’]. “ | ”;” .$row[‘zipcode’]. “ | ”. $row[‘phone1’]. “ | ”;” .$row[‘phonenum’]. “ | ”. $row[‘email’]. “ | ”;” .$row[‘day1’]. “ | ”. $row[‘day2’]. “ | ”;” .$row[‘package’]. “ | ”;