valentine93 Posted October 9, 2014 Share Posted October 9, 2014 I wrote <?php $desc = filter_var(" < Excellent & a > new product", FILTER_SANITIZE_SPECIAL_CHARS); echo $desc; ?> which were taught and learn last semester. Now, it's no longer working. Link to comment https://forums.phpfreaks.com/topic/291526-filter_var-wont-work-anymore/ Share on other sites More sharing options...
requinix Posted October 9, 2014 Share Posted October 9, 2014 Are you looking at the HTML source of the page? Or just what your browser shows you? Link to comment https://forums.phpfreaks.com/topic/291526-filter_var-wont-work-anymore/#findComment-1493118 Share on other sites More sharing options...
valentine93 Posted October 9, 2014 Author Share Posted October 9, 2014 Are you looking at the HTML source of the page? Or just what your browser shows you? Oh....Im looking at the page. Well....the source say it's ok! Sorry...My mistake Link to comment https://forums.phpfreaks.com/topic/291526-filter_var-wont-work-anymore/#findComment-1493119 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.