View Single Post
  #1  
Old 20th February 2016, 03:18
ndbj ndbj is offline
Senior Member
 
Join Date: Dec 2012
Portugal
Posts: 35
Default about htmlspecialchars (need some help)
Cheers!

at my userdetails.php, i have this:
PHP Code:
$modcomment htmlspecialchars($user["modcomment"]);
print(
"<tr><td class=rowhead>Notes</td><td colspan=2 align=left><textarea cols=60 rows=6 name=modcomment>$modcomment</textarea></td></tr>\n"); 

still, modcomment isn't showing things right.
Click the image to open in full size.




TBDev2008 here.
can someone point me the direction for solving this?

Thanks in advance.
Reply With Quote