Jump to content

solon

Members
  • Posts

    214
  • Joined

  • Last visited

    Never

Everything posted by solon

  1. Hey spaceman12, I believe that using the isset function on a variable this way cannot be done because when you SET the variable like: $Name=$_POST['Name']; it is SET to even an empty value... but it is SET. so you will not be able to check if it has a value unless you check it like: if(!isset($_POST['Name'])) and then give its value to $Name variable or . if($Name == "") I think that is the reason your script wont work. To check that try to declare your $Name variable instead of like : $Name=$_POST['Name']; like this: $Name; and run your script. It will go in to the if statement and execute your code because the variable is actually not SET! Hope this helped.
  2. Hey momasri, if this is your actual code change your first line from $institutea "some directory"; to $institutea = "some directory";
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.