What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Check for input and post to PHP

Check for input and post to PHP
Author: Message:
Volv
Skinning Contest Winner
*****

Avatar

Posts: 1233
Reputation: 31
34 / Male / Flag
Joined: Oct 2004
RE: Check for input and post to PHP
quote:
Originally posted by r3m!xXx
should have pointed it out clearlier, my problem is the error stuff. how do i prevent the script from writing unfilled stuff in my database?
That is what matty's code does, it checks if the textbox is empty.
You could also/alternatively add a check in your PHP code:
code:
if ($_POST['t1'] == "") {
    // error
} else {
    // continue
}

This post was edited on 06-10-2008 at 02:23 PM by Volv.
06-10-2008 02:21 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Check for input and post to PHP - by r3m!xXx on 06-10-2008 at 02:07 PM
RE: Check for input and post to PHP - by matty on 06-10-2008 at 02:10 PM
RE: Check for input and post to PHP - by r3m!xXx on 06-10-2008 at 02:17 PM
RE: Check for input and post to PHP - by Volv on 06-10-2008 at 02:21 PM
RE: RE: Check for input and post to PHP - by r3m!xXx on 06-10-2008 at 02:26 PM
RE: Check for input and post to PHP - by Matti on 06-10-2008 at 02:26 PM
RE: Check for input and post to PHP - by r3m!xXx on 06-10-2008 at 02:45 PM
RE: Check for input and post to PHP - by Felu on 06-10-2008 at 02:49 PM
RE: RE: Check for input and post to PHP - by Volv on 06-10-2008 at 03:03 PM
RE: Check for input and post to PHP - by r3m!xXx on 06-10-2008 at 02:54 PM
RE: Check for input and post to PHP - by Felu on 06-10-2008 at 03:06 PM
RE: Check for input and post to PHP - by r3m!xXx on 06-10-2008 at 03:37 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On