Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in PHP only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
PHP
check textarea variable in a form if there is a url
check textarea variable in a form if there is a url
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
perhapscwk
New Member
Join Date:
Sep 2007
Posts:
123
#1
check textarea variable in a form if there is a url
Mar 28 '10, 05:41 AM
any idea how to check textarea variable in a form, if there is a url
in the textarea, then add <a href to the url before we insert it
to database?
guillermobytes
New Member
Join Date:
Jan 2010
Posts:
77
#2
Mar 28 '10, 01:08 PM
you could use preg_replace() to find URI's. and add the convenient tags.
Comment
Post
Cancel
perhapscwk
New Member
Join Date:
Sep 2007
Posts:
123
#3
Mar 28 '10, 01:40 PM
thanks. I have solved it.
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment