I have the following setup: JQuery:
$('.btn-setting').click(function(e){
e.preventDefault();
$('#myModal').modal('show');
});
Which opens a HTML file as a Dialog box, the problem is that I cannot pass any PHP variables onto the page for reference:
<a href="<?= echo $UserID; ?>" class="btn btn-info btn-setting">Click for dialog</a>
Anyone suggest a method to enable me to do so?
Alright. The problem is now, i'm viewing the source of the page.. Yet, it's showing what i'm expecting, now When I click the button to bring up the dialog box, it's showing different data...
Not recommended I know, but heres a live:
92.236.219.136/Admin/
User: Stack
Pass: stack
<?= echodoesn't look right,<?=isechoalready.