how to encode and decode html tag using php


how to encode and decode html tag using php
you can encode using ->
html_entities(mysql_real_escape_string($variable));

you can decoe using
html_entity_decode(stripslashes($variable));

Comments

Popular posts from this blog

difference between unset and unlink in php

how to check ban-word user in put using php

Difference between session_register and $_SESSION[] in phpsession_register and $_SESSION[] in php