You are here: Array small question « PHP Programming Language « IT news, forums, messages
Array small question

Posted by shror on 10/04/07 07:44

I need help in a small problem,
I have created a registration form and I want my users not leave the
username empty or even enter any number of spaces because sometimes I
found that the users enter some space hits in the username and the
form is submitted, so I created an array and tried to enter the spaces
but I don't know how to make my code reject any spaces whatever their
number and I failed doing this, and what I did was that I entered in
an array the user-names I reserve for later use and space, two-spaces,
three-spaces, four-spaces, ........... but I was exhausted so please
could you tell me how to solve this and do it in a professional way.

shror

 

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

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