Good day.
Is it possible through the script to change the value of the variable php?
There is a menu:
<button type="button" class="btn btn-sky text-uppercase btn-sm" id="btn_p"></button> <button type="button" class="btn btn-sky text-uppercase btn-sm" id="btn_m"></button> <button type="button" class="btn btn-sky text-uppercase btn-sm" id="btn_w"></button> <button type="button" class="btn btn-sky text-uppercase btn-sm" id="btn_s"></button> <button type="button" class="btn btn-sky text-uppercase btn-sm" id="btn_i"></button>
Below with php:
$news = new RSS_Pars($url)
Is it possible to realize that when you click each of the menu buttons, it supplies its url to a variable? If so, how?
Thanks in advance for your help.