Jump to content

[SOLVED] Combining multiple functions with variables


DanC

Recommended Posts

Hi everyone,

 

I am new to PHP and couldn't find a solution to this problem.

 

I am trying to add strip_tags and a ucwords to a variable.

 

So I have :

 

$name = strip_tags($_POST['name'])

 

...and I want to apply both a strip_tags AND a ucwords to it. How would I do this?

 

Thanks.

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.