Answer the question
In order to leave comments, you need to log in
How to replace name when processing $_POST?
There is a code:
foreach($_POST as $key => $array){
switch($key)
{
case "custom_name_checkbox_".$i."":
$key = 'Товар:';
break;
case "custom_name_text_".$i."":
$key = 'Количество:';
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question