Hi
I am trying to insert some php code in a wordpress page. I have a mini form with a input file and a button. I make a request in another page and this page retu me something. I want to control if this retu the object or not with the code:
<?php
if (isset($_GET["R"]))
{
if ($_GET["R"] == 0)
{echo 'Certificate Number does not exist'; }
if ($_GET["R"] == 1)
{ echo some variables that came from respons in a get request;}
} ?>
the problem is that shows both part and the 'Certificate Number does not exist' and the value or variables.
I have try all code in a file and everything works well.
Hope to have been clear.
Thank you in advance :)