Page 1 of 1

if ... then

Posted: Sat Jul 31, 2010 5:19 am
by fer0an
hello
I want find the URL link in my data.
so I find this link using code below:

Code: Select all

$dllink = textbetween ('<a href=','</a>',$dllink);
$dllink = textbetween ('"','"',$dllink);
but sometime my code have 2 or 3 URL .
how I can find another URL in my code?

Re: if ... then

Posted: Sat Jul 31, 2010 9:21 am
by jraede
Where did you get textbetween? Is that a custom function?