Hey! I am a newbie to php, but very interested in. I am currently on highschool and i am trying to make an appointment SQL table that could be managed, in a simple way, via browser that my sister could use. I was getting some results but then i messed up.. :( i been smashing my head on this: <?php session_start(); define('ADMIN_PASS', 'password'); $mysql_server = '------'; $mysql_nome = '--------'; $mysql_password = '---------'; $mysql_database = '-----------'; $mysql_table = '----------'; $admin_password = isset($_COOKIE['admin_password']) ? $_COOKIE['admin_password'] : ''; if (empty($admin_password)) { if (isset($_POST['admin_password'])) { $admin_password = md5($_POST['admin_password']); if ($admin_password == md5(ADMIN_PASS)) { setcookie('admin_password', …

Member Avatar
Member Avatar
+0 forum 4

The End.