hello there i just wanna ask maybe someone have an idea here i knw this is just simple to you but i cant think on what should i do now 🙂
i have this samepl record.
$pizza = 'pizza1, pizza2, pizza3, pizza4, pizza5';
$pieces = explode(", ", $pizza);
print $pieces[0];
print $pieces[1];
print $pieces[2];
print $pieces[3];
print $pieces[4];
that will going to show the pizza records right
but my question is what if i add another pizza on thel ist like pizza6 to 10 and sometime morethan 10 so lets just say the pizza is not default it always change value. how can i count how many pizza or record?
pls help me with this
thank you.