Quote:
Originally Posted by idalatob
PHP Code:
$message = "<hm>What ever you want it to be.</hm>"; $message1 = strip_tags($message); if ((strlen($message)) > (strlen($message1))){
|
I am not the best coder but a bit confused by this line;
PHP Code:
if ((strlen($message)) > (strlen($message1))){
Is that just a checking method to continue with the
if then }else{
I don't think that having the if then else is needed, it will be greater than the stripped message.
PHP Code:
$message = "<html>What ever you want it to be.</html>";
$message1 = strip_tags($message);
//proceed with database addition