The Student Room Group

iDEA Silver Citizen Badge 2

does anybody know how to complete the $myVariable Section on this award.

Scroll to see replies

Reply 1
im stuck on it too :/
Reply 2
oh wait i got it, its basically just like the notes says.
input $myFormData = escape_tags(myFormData); into the second line!
$myFormData = escape_tags($myFormdata);insertI ntoDatabase($myFormData) $ And then when you're on the note or second area it says "myvariable" so you take away the "myformdata" and add it to the first word, first line of the code editor
(edited 4 years ago)
no could you post if you find out. thanks
If Any One Needs Help I have This One Done Two Factor AuthPic.jpg
Reply 6
What about this one?

$review = $_POST['review'];

insertIntoDatabase($review);


What do we do here?
Original post by miggigig
oh wait i got it, its basically just like the notes says.
input $myFormData = escape_tags(myFormData); into the second line!

that doesn't work for me, this is what I got: $myFormData = $_POST['comments'];

input $myFormData = escape_tags(myFormData);
Reply 8
Gamer - Badge 3 Help Please
I can't figure out how to do the "add scrolling background layers"; when I add the four countryside backgrounds and label them '1', '2', '3' & '4' it doesn't work. Same goes for the Sprites, I can't figure out that. If anyone has done it, please help or add screenshot.

Thanks
i stuck on that too, have you got an answer
Original post by Cheetah.
What about this one?

$review = $_POST['review'];

insertIntoDatabase($review);


What do we do here?

have you found an answer?
Original post by mayaaa123
have you found an answer?

Not yet, still looking
Reply 12
any luck?
Reply 13
Original post by Cheetah.
Not yet, still looking

any luck ?
Original post by jowaad
any luck ?


No, sadly been stuck for 1 week now.
Yes I’ve just done it -Type

$review = $_POST['review'];

$review = escape_tags($review);
Original post by Jammyjam10
Yes I’ve just done it -Type

$review = $_POST['review'];

$review = escape_tags($review);

have you done the first part with the variables by any chance?
Original post by Cheetah.
Gamer - Badge 3 Help Please
I can't figure out how to do the "add scrolling background layers"; when I add the four countryside backgrounds and label them '1', '2', '3' & '4' it doesn't work. Same goes for the Sprites, I can't figure out that. If anyone has done it, please help or add screenshot.

Thanks

Type in 4,3,2,1
I'm stuck on this part of the badge, can somebody help me out on this?Screenshot 2019-11-25 at 10.42.21.png
input this, $myFormData = escape_tags($myFormdata);insertI ntoDatabase($myFormData) $ into the second line but change it so that every time it say $myFormData it will now say $review and it will work.

Quick Reply

Latest

Trending

Trending