What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Transfering Php code?

Transfering Php code?
Author: Message:
VLenin
New Member
*


Posts: 10
Joined: Apr 2005
RE: Transfering Php code?
hey chill,

<?php>
$a = $_POST['field1'];
$b = $_POST['field2'];
(...)
elseif ($a = 0 && $b = 0) {
echo "Please insert at least one value in the form. You'll be transfered to it again in 5 seconds" };
<?>
is not nice...

ok

use it like this

if (isset($_POST['field1']) AND isset($_POST['field2']) AND !empty($_POST['field1']) AND !empty($_POST['field2']))
{
   echo "ok, form is ok, let's go on!";
}
else
{
  echo "Not all fields are ok, bla die bla";
}
04-26-2005 02:53 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Transfering Php code? - by Jhrono on 04-26-2005 at 02:28 PM
RE: Transfering Php code? - by VLenin on 04-26-2005 at 02:32 PM
RE: Transfering Php code? - by Jhrono on 04-26-2005 at 02:35 PM
RE: Transfering Php code? - by VLenin on 04-26-2005 at 02:53 PM
RE: Transfering Php code? - by Jhrono on 04-26-2005 at 03:04 PM
RE: Transfering Php code? - by VLenin on 04-26-2005 at 03:10 PM
RE: Transfering Php code? - by Jhrono on 04-26-2005 at 03:13 PM
RE: Transfering Php code? - by fluffy_lobster on 04-26-2005 at 03:16 PM
RE: Transfering Php code? - by Jhrono on 04-26-2005 at 03:23 PM
RE: Transfering Php code? - by fluffy_lobster on 04-26-2005 at 03:25 PM
RE: Transfering Php code? - by Jhrono on 04-26-2005 at 03:31 PM
RE: Transfering Php code? - by VLenin on 04-26-2005 at 03:40 PM
RE: Transfering Php code? - by segosa on 04-26-2005 at 05:21 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