Answer the question
In order to leave comments, you need to log in
How to pass multiple values through Yandex Money LABEL?
I want to pass several parameters, but Yandex Money only Label can be used for its values.
$tariff_1 = '{"user_id":"'.$current_user['user_id'].'","tariff":"10","publications":"90"}';
$this->data['label_tariff_1'] = urlencode($tariff_1);
<input type="hidden" name="label" value="<?php echo $label_tariff_1; ?>">
Answer the question
In order to leave comments, you need to log in
evgenin ,
maybe
Eventually:
only 11 characters
and then
$label_arr = explode(";", $label);
echo $label_arr[0]; // uid - 99999
echo $label_arr[1]; // tariff - 10
echo $label_arr[1]; // publications - 90
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question