I swear, these loops and for each's are going to kill me (if regex doesn't
first ;)
anyways, this is what i have:
if ($_POST['item_name1'] != "")
{
@$item_name1 = $_POST['item_name1'];
@$item_number1 = $_POST['item_number1'];
}
i am trying to come up with the best way (i.e. for each or something) to
process these.
basically, item_name can be anything from item_name1 to item_name99,
and i surely dont want to have a bunch of copy/pastes 99 times (or more,
the number depends on how much someone buys from me ;)
first ;)
anyways, this is what i have:
if ($_POST['item_name1'] != "")
{
@$item_name1 = $_POST['item_name1'];
@$item_number1 = $_POST['item_number1'];
}
i am trying to come up with the best way (i.e. for each or something) to
process these.
basically, item_name can be anything from item_name1 to item_name99,
and i surely dont want to have a bunch of copy/pastes 99 times (or more,
the number depends on how much someone buys from me ;)
Comment