Applying two PHP functions to a piece of data
I am trying to apply the stripslashes function to a piece of data that I am retrieving from my database.
Here is the code I currently have, ... before adding the stripslashes function.
So... my question is .... how would I also apply the stripslashes function to the $row['blog_entry'] as well as keeping the substr function, which is already there.
'<p>' . substr($row['blog_entry'], 0, 200).'...</p>' .
Thanks so much if you are able to help.