PHP addslashes() not working?

  • Thread starter Thread starter skinnypspplayer
  • Start date Start date
S

skinnypspplayer

Guest
I have this..

addslashes($news) = $_POST["news"];


And for some reason, it won't work. An error comes up saying..

Fatal error: Can't use function return value in write context in /home/kingps3/webapps/static/admin/modify_sub2.php on line 20


And line 20 is that line. Is there any way I can add slashes to the piece of content?
 
Back
Top