if ... then

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
fer0an
Forum Newbie
Posts: 12
Joined: Sat Jan 23, 2010 8:15 am

if ... then

Post 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?
jraede
Forum Contributor
Posts: 254
Joined: Tue Feb 16, 2010 5:39 pm

Re: if ... then

Post by jraede »

Where did you get textbetween? Is that a custom function?
Post Reply