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?
Or;
Or maybe...
Anyways, which one would work if you know ;p
Thanks in advance!
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!