Get The Inside String


/ Published in: PHP
Save to your folder(s)

Using this you can get the inside string from another given string. Great for scraping data from other sites.


Copy this code and paste it in your HTML
  1. function get_inner_string($a,$b,$c)
  2. {
  3. $y = explode($b,$a);
  4. $x = explode($c,$y[1]);
  5. return $x[0];
  6. }

URL: http://www.imben.co.uk

Report this snippet


Comments


You need to login to view comments.