D
D
Dmitry2017-02-27 05:10:37
PHP
Dmitry, 2017-02-27 05:10:37

Can user parameters be arbitrary?

Everything is on one page. It is necessary to somehow enter the value from input into a variable without reloading. In theory.

<input type='text' name='Shp_name' value='Сюда вводим имя'>

$name = "Введенное имя в input попадает сюда";

$crc  = md5("$mrh_login::$inv_id:$mrh_pass1:Shp_name=$name");

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
RomanoFFUA, 2017-02-27
@RomanoFFUA

If I understand correctly, then you need to pass the value from the form to the script without reloading the page. In this case, google towards AJAX. jQuery.ajax() or jQuery.post() to be specific.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question