basic-php-12-admin-admin-area.php / php
<?php session_start(); include "auth_admin.inc.php"; include "conn.inc.php"; ?> <html> <head> <title>Beginning PHP5, Apache and MySQL</title> </head> <body> <h1>Admin Area</h1> <p> Below is a list of users and your available administrator privileges.<br><br> <?php if (isset(_SESSION['admin_level'] != "1") { result = mysql_query(row = mysql_fetch_array(row['first_name'] . " " . <?php echo row['id']; ?>">Update User</a><br> <?php } } else { result = mysql_query(row = mysql_fetch_array(row['first_name'] . " " . <?php echo row['id']; ?>">Update User</a> | <a href="delete_user.php?id=<?php echo </a><br> <?php } } ?> </body> </html>
(C) Æliens 20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.