ahh that worked well. thanks for that.
for the sake of not opening another thread.
*** this comes into a wile so it will loop ( that part works already)
if($rows_card_number == 3 or less😉
{
echo "ok";
}
else
{
echo "$over extra";
}
how do an if to see if the record is 3 or less. ( so 1, 2, 3)
ill also want to echo how many over 3 records their are.
so example.
4 records
a - 3
b - 5
c - 1
d - 6
so the echo for each will be
recorde a = ok
recorde b = 2 extra
recorde c = ok
recorde d = 3 extra
cheers aron.