mardi 23 décembre 2014

Getting html tags in php when uploading youtube embedded code


I am uploading youtube embedded code in database when i getting it's not showing video and showing html tags like this here's my code



$gettingmessageform=$t["message1"];
echo '<span><a href="javascript:void(0)" onclick="Alert.render(\''.$gettingmessageform.'\')" "/>'.$t["username1"].'</a></span></br>Age:'.$t["age1"].'</br>'.$t["location1"].'</br>';


it's showing like this when i retrieving the code from database



')" "/>talent


Regards Aashish





Aucun commentaire:

Enregistrer un commentaire