The Student Room Group

Silver iDEA Citizen badge part two

Scroll to see replies

Reply 20
Hi. I have put the input in, but it says incorrect. Thanks.
none work lmaoo
Yeah it says i have a error in my code logic for silver gamer badge idea what does that mean ??? help please
Fantastic, thank you!
hi
Original post by immiestar88
I need help with the Citizen fortification badge bit. It says to pass the variable through escape tags and to sanitise the variable. I have put this but i dont know whats wrong with it:

$myFormData = $_POST['comments'];
$myFormData=escape_tags($myFormData)i
insertIntoDatabase($myFormData)

i have no clue how to actally write this. IM useless at coding, can someone give it to me step by step
Original post by peachy.x.grace
you have to replace the first line with the escape tag variable. Hope this helps :smile:
Wdym

Quick Reply

Latest

Trending

Trending