RevCMS paypal AutoVIP help...

Status
Not open for further replies.

DiverseLulz

Learning C# :D
Sep 26, 2011
90
9
So, I know one of these is correct, but just curious as of which one.. Which one of these would work for RevCMS?

Code:
if(!isset($_POST['user']['id']) || !isset($_POST['amount']))
  {
    echo 'Username and amount needed for purchase';
    die; 
  }

Or;

Code:
if(!isset($_POST['user']) || !isset($_POST['amount']))
   {
echo 'Username and amount needed for purchase';
die;  
   }

Or maybe...


Code:
if(!isset($_POST['username']) || !isset($_POST['amount']))
   {
 echo 'Username and amount needed for purchase';
 die;  
   }

Anyways, which one would work if you know ;p
Thanks in advance!
 
Status
Not open for further replies.

Users who are viewing this thread

Top