The Student Room Group

iDEA silver citizen badge three. Milkshake shack coding problem.

Cant figure out the coding sequence to sanitise the 'comments' for the milkshake shack guy on badge three.

Currently what I have now based on what I've found on other threads:
$message = $_post{'message'};
$message = escape_tags ($message);
insertintodatabase($message);

Help please

Quick Reply

Latest

Trending

Trending