jeudi 13 août 2015

Placing a slash in a string

In PHP we have tried to use str_replace to do this.

We have stored in the database <img src="images/dogtopic.jpg" and need to insert a / before the word images to set the correct path to the image.

We have tried all sorts of combinations to achieve this but to no avail.

Any ideas - would really be appreciated

Cheers Rich



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire