function to return url


Posted on 16th Feb 2014 07:03 pm by admin

Hi,

Can you guys help me giving a function that takes all the contents in a particular field and returns text and url seperately...

Did you know?Explore Trending and Topic pages for more stories like this.
For instance,

Go:
here is the link
www.google.com

it takes all the contents in the Go,and returns "here is the link" as text and "www.google.com" as link.I've an idea that preg match has something to do with content matching,I've tried that and I gave up.


Any help would be appreciated
No comments posted yet

Your Answer:

Login to answer
263 Like 29 Dislike
Previous forums Next forums
Other forums

small inaccuracies
I have this code to convert fractional base 10 into base 2:

while($num > 0)

Sufficient protection from bad input?
I am writing a simple script to let people upload 'pages' of their own content, be it simply a few b

How to add functionality to a simple php calender?
Hello everyone,

I have just finished creating a simple php calander. Can someone point

Dynamic memory problem
Hey,

At the beginning of my code, I have this line:

Shape* gShape = 0;

Data Function is Its Not working IN IE8
This is my first time to use formums. I hope i can get solution for this problem. view plaincopy to

Pls help with PHP
Pls can anyone direct me on how to create a user account for a customer. For example i want know if

PHP Form to Variable.
Hi! I have written a HTML-form code in DreamWeaver CS3 (in a PHP doc) and I really need it to work s

Quick variable question
hey guys/gals,
im trying to write a php script and it works fine as i have it, but i need to set

Add "width" check when upload
Hi!

Can someone add a function that is checking if picture witdh is bigger then 800px whwn up

Adding to the next element in a multidimensional array
Hi, I'm trying to add a value to $node->field_spaces['nid'] where x is the next available spo

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash