Concatenate Javascript with PHP

3

I'm trying to concatenate PHP with Javascript, but I'm not getting it.

<button onclick="gravaDados('/" . <?php echo nomeCliente; ?> . /"')" class="btn-playpause">Play</button>

Thank you

    
asked by anonymous 11.08.2017 / 23:45