Jangga
Junior Member
- Aug 8, 2016
- 196
- 11
Hello bosses, please I need your assistance. I'm trying to get details from users URL. It's not working. I'm getting error as unexpected T_variable
Users URL looks like : http://www.mysite.com/user/[email protected]&pin=H5Dhs8Ruotsl
My code is:
<?
if(isset($_GET['email']) AND isset($_GET['pin'])){
$email=$_GET['email'];
$pin=$_GET['pin'];
//my db code goes here
?>
The error occurs at the line having $email=$_GET['email'];
I don't know what is wrong.... Pls say something
Users URL looks like : http://www.mysite.com/user/[email protected]&pin=H5Dhs8Ruotsl
My code is:
<?
if(isset($_GET['email']) AND isset($_GET['pin'])){
$email=$_GET['email'];
$pin=$_GET['pin'];
//my db code goes here
?>
The error occurs at the line having $email=$_GET['email'];
I don't know what is wrong.... Pls say something