The Student Room Group

iDEA Silver Badge award..

Scroll to see replies

Original post by msjvr
For anyone who is stuck on this one.
This is the original code:
$message = $_POST['message'];
insertIntoDatabase($message);

You need to change it to:
$message = escape_tags($message);
insertIntoDatabase($message);

I realised I did everything but the square brackets have been the thing that has caused me to be stuck on this one for a while. So you need to change it to these brackets (). Its worked for me, let me know if it has worked for anyone of you guys!


Drop here!

OMGGG! Thank you sooooo much! I have had an issue with this problem for ages!!!
The answer to this is$review = escape_tags($myFormdata);inser​tI ntoDatabase($review)
$myFormData = escape_tags($myFormData);

insertIntoDatabase($myFormData) is the answer so stop asking 3 people have posted this allready so pay attention sorry for rudeness but really use ur eyes for god sake
Reply 24
anyone know the answer to the Fred's Deli Website hack? :,)
idk im very stuck on it
i dont know i have tried what everyone has said and it says syntax and stuff
Original post by mgudka2317
OMGGG! Thank you sooooo much! I have had an issue with this problem for ages!!!

it still dont understand i have changed the brackets and followed everything :C
Hey i need help on the second part of this. Instructions in picture followed by my current code. please help!
Original post by MiaRakk
I cant seem to get the answer for the iDEA the Digital Citizen Part Two Screen Shot 2019-03-13 at 20.41.30.png

Same
Original post by 18DG57
$myFormData = escape_tags($myFormData);

I put this and it worked so try it out


it doesn't work for me plz someone help
Original post by msjvr
For anyone who is stuck on this one.
This is the original code:
$message = $_POST['message'];
insertIntoDatabase($message);

You need to change it to:
$message = escape_tags($message);
insertIntoDatabase($message);

I realised I did everything but the square brackets have been the thing that has caused me to be stuck on this one for a while. So you need to change it to these brackets (). Its worked for me, let me know if it has worked for anyone of you guys!


Drop here!


doesn't work for me
Original post by MiaRakk
I cant seem to get the answer for the iDEA the Digital Citizen Part Two Screen Shot 2019-03-13 at 20.41.30.png


the answer that I used should be:

$myFormData = escape_tags($myFormData);
insertIntoDatabase($myFormData)
I am so confused how do you get to that part?
Reply 34
tahnk youu8uuuuuucyvhfjur
Reply 35
Original post by samidea
$myFormData = escape_tags($myFormdata);insertIntoDatabase($myFormData) $


perfect thanks!
Finding holes in websites like this without any malicious intent is called ________ hacking.
Reply 37
Original post by kristiana19
Finding holes in websites like this without any malicious intent is called ________ hacking.
White hat
Original post by MiaRakk
I cant seem to get the answer for the iDEA the Digital Citizen Part Two Screen Shot 2019-03-13 at 20.41.30.png
syj=m

Quick Reply

Latest

Trending

Trending