Jump to content

Stripslashes help


johnnyboy16

Recommended Posts

yea... it would go like this

<?php
echo strip_slashes($get_page_title);
?>
[code]

but using a get for the page title is a pretty bad idea. or really echoing out just about anything a user can give you is a bad idea. start with strip_tags(); if you have too. your gonna wanna look up a tutorial on validating user input.

Link to comment
https://forums.phpfreaks.com/topic/191430-stripslashes-help/#findComment-1009193
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.