Tourism Guide
  • Places To Go
    • Dhaka
    • Chittagong
    • Khulna
    • Barisal
    • Rajshahi
    • Rangpur
    • Sylhet
  • Plan Your Trip
  • Gallary
  • Map
  • forum

Search

query($sql); $row=$result->fetch_assoc(); $_SESSION['name']= $row['name']; if($username=$row['email'] && $password=$row['password']){ if($row['name']=='admin'){ header('Location: admin.php'); } else{ header('Location: user.php'); } } else{ } } if(isset($_POST['button1'])){ $name=""; $password1=""; $phone=""; $email=""; $a=rand(1000,9999); if(isset($_POST['name1'])) $name=$_POST['name1']; if(isset($_POST['pass'])) $password1=$_POST['pass']; if(isset($_POST['email'])) $email=$_POST['email']; if(isset($_POST['phone'])) $phone=$_POST['phone']; $sql1 = "INSERT INTO user(`name`, `user_id`, `email`, `password`, `phone`) VALUES ('$name','$a','$email','$password1','$phone')"; $result1 = $conn->query($sql1); if($result1){ echo "ok"; //header('Location: index.php'); } else{ echo "sdadasdsad"; } } ?>

Login/Registration -

  • Login
  • Registration
Forgot your password?
OR

Sign in with

Facebook Google

Logo

Suspendisse hendrerit tellus laoreet luctus pharetra. Aliquam porttitor vitae orci nec ultricies. Curabitur vehicula, libero eget faucibus faucibus, purus erat eleifend enim, porta pellentesque ex mi ut sem.

© 2017 All rights reserved

Menu —

  • Travel
  • Nature
  • Explores
  • Science
  • Advice
  • About Us
  • Contacts
  • Terms & Condition
  • Privacy Policy

Follow Us

  • Facebook
  • Twitter
  • Instagram
  • RSS

Newsletter

A rover wearing a fuzzy suit doesn’t alarm the real penguins