Validating a Page - urgent

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
pritishz
Forum Newbie
Posts: 2
Joined: Sun Jan 25, 2009 2:36 am

Validating a Page - urgent

Post by pritishz »

Hello Everyone,

I am a beginner in PHP. I am presently building a page in PHP which has textbox and a submit button. Can anyone please help me validating the form. If I leave the textbox empty it shud display a message just below the textbox stating "Required field cannot be left blank" in red fonts.
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Validating a Page - urgent

Post by requinix »

If the string from the textbox is an empty string then print your HTML message.

(Those are links)
Post Reply