jordan443 Posted April 17, 2013 Share Posted April 17, 2013 I'm need a script that replaces multiple <a href="example.com"> tags with <a href="example2.com" onClick='this.form.submit()'> I have already wrote the part for grabbing the html (the html grabbed is $code) ........... $code = substr($file_contents, $start, $end); echo $code; ?> Any ideas? Quote Link to comment Share on other sites More sharing options...
Christian F. Posted April 17, 2013 Share Posted April 17, 2013 str_replace Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.