You are here: Re: Form related question « PHP Programming Language « IT news, forums, messages
Re: Form related question

Posted by Krustov on 12/29/05 04:54

<comp.lang.php , Wayne , wayne@somedomain.com>
<dotsp4$m76$1@ctb-nnrp2.saix.net>
<Wed, 28 Dec 2005 13:23:43 +0200>

> I am looking at adding a form to my site allowing visitors to
> subscribe with a username. The form should ideally first check
> to see if the username has been taken (From text file or MYSQL database)
> and then submit the form to my email address. If the username is taken it
> should return a message to the user advising them of this.
>
> Can anyone perhaps assist with this or direct me to a tutorial for the
> checking of the username part? The rest of the form is working.
>

On the next page - just do a simple if ($qaz==$wsx) {print "username
taken - click on back and try another username"; exit;}

If the username isnt taken it then it just carrys on with the rest of
the page .

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация