I have build a php page that queries a Mysqli database with a GET request. One of the GET variables ( &day= ) queries the datas by date. If day=0 it queries the actual date. If day = 1 it queries date-1, and so on. This works fine with 2 buttons mixing javascript and php form + buttons. (code pasted somewhere and modified to my needs)
Today i added some "cosmectics" to my page. I added some folder like links.
I'm stucked in that i can't find how to change the day variable by clicking on the + and - html links...
The link code :
echo "<li><a href='".$_SERVER['PHP_SELF']."?rucher=".$rucher_nr."'><span>-</span></a></li>";
Thanks,