[Solved] Remove underscore from php echo output [closed]


what madness is this?

if($validation->fails()) {
  echo '<div class="error_message">' . str_replace("_"," ",($validation->errors()->first('first_name'))) . '</div>';
}

0

solved Remove underscore from php echo output [closed]