I'm new to PHP and I've been searching all day how to do this, but how would I make it so that when a user inputs info into a database
It pulls the data as "blah-bah"
Instead of "Blah Blah"
I'm new to PHP and I've been searching all day how to do this, but how would I make it so that when a user inputs info into a database
It pulls the data as "blah-bah"
Instead of "Blah Blah"
echo strtolower(str_replace(' ', '-', 'Blah Blah'));