I have an input which allows users to enter text, which is then sent using PHP to another page, where it is stored in a database. I have done some simple validation ( checking i
To check try this:
if( preg_match('#^<.>.+$#', $your_value) ){ echo "NOT GOOD"; // and some error too }