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; ?>"> 

Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -