Putting data at BEGINNING of string

Hi again all,
This may be like REALLY stupid, but how on earth does one add things to the beginning of a string in PHP?

I know that $test .= “dedehy”; would add dedehy to the end of the string, but how to get dedehy to the beginning?

Any ideas?

$test = "BeginString" . $test;

Cheers. :smiley:

Doh! It’s that easy! I knew that as well.

Thanks for refreshing my memory filmfoto! :smiley:

We all get coding block, once in awhile. :wink: