i am trying to replace spaces with underscore '_' in the following variable

 $e_type = 'Hello World TEST';

can anyone help me please

Edit
Report