Posts by Emilson Ribeiro Neto • 11 points
1 post
-
1
votes5
answers45121
viewsA: How to use a PHP variable in javascript?
You can use pass the following way (example by calling a PHP method to pass to JS): <?php $usuario = AutenticacaoUsuarioLogado::usuariologado(); echo "<script type='text/javascript'>"; echo…