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

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -