Jump to content

Which method is correct way?


thilakan

Recommended Posts

Does not matter in what order or whether you use the functions at the same time. The end result will be the same.

 

trim() removes white space characters at the start and end of a string

strip_tags() removes html tags from a string.

 

If you are having to pass messages in the url I would recommend $_SESSION instead. Anything in the URL can be changed by the user.

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.