Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > Pro PHP
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Pro PHP Advanced PHP coding discussions. Beginning-level questions will be redirected to the Beginning PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro PHP section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old October 20th, 2003, 12:10 PM
Authorized User
 
Join Date: Oct 2003
Location: , , .
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default PHP & Strip tags

Posted - 10/20/2003 : 4:08:23 PM
--------------------------------------------------------------------------------

Hi All,
I want to create a user friendly back end in which a person can update her personal information without knowledge about html tags.

If i used strip_tags function to strip all html tags, so that the form looks very clean. The trouble is that when a user edit her information and hit update button, all the html format will be gone.

So what do i do to reserve all html tags? And if she wants to type in xxx with a url, then how do i know to convert it to a link. For example: yahoo, http://www.yahoo.com.

Any suggestions would be greatly appreciated

trang



Reply With Quote
  #2 (permalink)  
Old October 20th, 2003, 12:23 PM
Friend of Wrox
Points: 2,570, Level: 21
Points: 2,570, Level: 21 Points: 2,570, Level: 21 Points: 2,570, Level: 21
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: San Diego, CA, USA
Posts: 836
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Cross post with http://p2p.wrox.com/topic.asp?TOPIC_ID=5482. Please post all replies in that thread.


Take care,

Nik
http://www.bigaction.org/
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
strip html tags with xslt smiter XSLT 4 June 19th, 2012 08:34 AM
Header Tags & Controls Come back as Error Ian Btn VS.NET 2002/2003 1 November 13th, 2008 09:35 AM
php tags in form visible Dj Kat Beginning PHP 4 November 10th, 2006 07:22 AM
Error: movie.php & commit.php on p182-186, ch6 willburke BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 October 12th, 2004 02:48 PM
strip html tags & PHP trangd Beginning PHP 6 October 21st, 2003 10:28 AM



All times are GMT -4. The time now is 06:25 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.