Jump to content

[SOLVED] php explode how to?


secoxxx

Recommended Posts

how would you go about exploding this.

 

the "title" looks like this in the db, "Gold prospecting in Oregon"

 

I want "Gold-prospecting-in-Oregon"

 

$row['title']

 

how would you explode using this type?

 

i understand using it like so

 

explode("-", $title);

 

but not with $row['title']

 

 

Link to comment
https://forums.phpfreaks.com/topic/120841-solved-php-explode-how-to/
Share on other sites

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.