Hi , I am facing problem with string replacement $url=" click here to go http://hostname/resources/templates/upload/1222059729/#1 or click here to go http://hostname/resources/templates/upload/1222059729/ "; plz note that i want something like this $url=" click here to go address1 or click here to go address2"; Could any one can give right solutions. Thanks
uh... $add1 = "address one here"; $add2 = "Address two here"; $url = "click <a href=\"".htmlspecialchars($add1)."\">here</a> to go to ".htmlspecialchars($add1)." or click <a href=\"".htmlspecialchars($add2)."\">here</a> to go to ".htmlspecialchars($add2); is that what you want?