dimanche 1 février 2015

It's possibly change html element via PHP?

I have



<span id="first_name"></span>


From mysql i am getting "first_name" value and I want write this to #first_name. JS do it great



$('span').text(firstNameFromDb);


But i can't do it on php. It's possibly? how i can do this?





Aucun commentaire:

Enregistrer un commentaire