I'm using double bootstrap modal from Open modal inside a Modal
my sample code jsFiddle
I want to give hiddenvalue
to my buttons and call it in the another modal but I'm not using form so I can't use hiddenvalue=""
<button data-toggle="modal" **value="Johndoeinfo"** href="#stack2">John Doe</button>
<button data-toggle="modal" **value="Alexgrayinfo"** href="#stack2">alex gray</button>
i want my modal 2 be like
<div id="stack2">
<?php
$value = button value;
echo $value;
?>
</div>
Is that possible with PHP?