Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
|
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 20th, 2003, 11:09 AM
Authorized User
 
Join Date: Oct 2003
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default PHP & Strip_tags

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



 
Old October 20th, 2003, 12:22 PM
Friend of Wrox
 
Join Date: Jun 2003
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/





Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP & Javascript ketki Pro PHP 2 January 18th, 2007 03:45 PM
begin php & mysql - chapter 12, user_form.php jon_stubber Beginning PHP 1 March 9th, 2006 10:57 AM
c++ & php vlad77 C++ Programming 1 May 20th, 2005 09:01 AM
Linux & KDE & C++ & QT & MYSQL & Kdevelop Munnnki Linux 0 January 2nd, 2005 05:41 PM
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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.