I have the below code and want to add '../' just before the link, how can i do this, i've tried string replace but no luck!??
The whole link is in a string before being saved to the DB.
What i have:
What i want:
The whole link is in a string before being saved to the DB.
What i have:
Code:
<img src="images/image1.jpg"/>
What i want:
Code:
<img src="../images/image1.jpg"/>