So I have this url:
Api.php?action=signup&name=Kalle&email=kalle@hiof.no&password=kalle&studieretning=IT&year=2000
To get the name out is it correct to have
echo $_POST['name'];
Cause in my case this ain't working
So I have this url:
Api.php?action=signup&name=Kalle&email=kalle@hiof.no&password=kalle&studieretning=IT&year=2000
To get the name out is it correct to have
echo $_POST['name'];
Cause in my case this ain't working
 
    
     
    
    If you are using the querystring (which you are) then data arrives to PHP in the $_GET array not the $_POST array
So that would be
echo $_GET['name'];
