I have an array of keywords...
(array) -> (house, table, horse, tree)
I need to create a string from that like this:
house+table+horse+tree
How can I do this with PHP?
I have an array of keywords...
(array) -> (house, table, horse, tree)
I need to create a string from that like this:
house+table+horse+tree
How can I do this with PHP?
Use implode()
$string = implode('+', array(house, table, horse, tree));