html - Variable PHP inside a Div Modal -
i have php variavel named $table , , want show modal variable, it's no working <div class="modal-dialog modal-lg"> <div class="modal-content" value="'.$table.'"> </div> how can solve ? your php values have emitted server-side code. html markup alone won't interpret them. this: <div class="modal-content" value="<?php echo $table; ?>">