Jump to content
Stef's Coding Community

vaidoshia

New Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About vaidoshia

  • Rank
    New member
  1. Hello, I am trying to make a code for admin login, however, when I upload a page and try to enter password and username, I cannot go to another page. Please let me know what is the problem with my code. Thank u. This is the actual login page code: <?php require_once("includes/session.php"); ?> <?php require_once("includes/connection.php"); ?> <?php if (logged_in()) { redirect_to("staff.php"); } include_once("includes/form_functions.php"); // START FORM PROCESSING if (isset($_POST['submit'])) { // Form has been submitted. $errors = array();
  2. Thank you, it really helped me to understand and change errors :]
  3. Hello everybody, I would like to ask for help, I made a form, it is validated before submitting it, however when I check it on the browser, it shows errors without even submitting a form, please help me to solve this problem. This is the code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Reservation Form</title> <link href="stylesheet/form.
×
×
  • Create New...