PHP, Database and XML/JSON

profileDilru
showmap.php

<?php ob_start(); include 'includes/header.php'; include 'includes/methods.php'; $doc = new DOMDocument(); $doc->load('xmlfile/staff.xml'); $allstaff = $doc->getElementsByTagName("staffuser"); if(isset($_POST['username'])){ $username = $_POST['username']; $pass = $_POST['pass']; $privliges = $_POST['privliges']; $status = adduser($username,$pass,$privliges); if($status==False){ $msg = "<span style='color:red'>This username is already registered !</span>"; }else{ header("Location:allusers.php"); exit; } } ?> <body> <?php include 'includes/nav_bar.php'; ?> <div class="container"> <br/> <br/> <iframe width="500" height="300" frameborder="0" style="border:0" src="https://www.google.com/maps/embed/v1/place?key=AIzaSyBddamMs02lXN3fMpA9Wh1QSUhzfZMOioc &q=<?php echo $_GET['address']; ?>" allowfullscreen> </iframe> </div> </body> <?php include 'includes/footer.php'; ?>