Hi,
I was wondering if someone could help me understand how to add dashes or underscores to a string that is in a variable.
$string = "here is some text";
want to make
"here-is-some-text"
Im trying to add a title(which has multiple words) into my URLs.
Thanks in advance.