Jump to content

thezeroandone

New Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About thezeroandone

  • Rank
    Newbie
  1. Please change my username to: Trentiant
  2. Thanks mac_gyver. I appreciate your help. Here is a link to my question on StackOverflow. Perhaps the wording of my question is a bit unclear. Maybe, it could be clearer with the code provided in the following link: https://stackoverflow.com/questions/56309057/
  3. Hi mac_gyver. Thank you for such a detailed and helpful response. Unfortunately, it is for an assignment and I am not allowed to use php in the same file as the HTML code (not significantly anyway, it has to be very minimal php in the HTML file, such as echo and include). I have to use 2 separate files: application.php (that contains mostly HTML) and processing.php (which has mostly PHP). I have tried the "session_start" method, and I can get it to "kind of" work, but I when the page refreshes or the input is filled, the previous error message is still there, persistently, and will not go
  4. How is it possible, in PHP, to display an error message next to a form input text field if a user is attempting to submit a form with empty fields? Moreover, how is it possible to remove the same error message when the user fills in the input field with the required data and/or refreshes the page? I have 2 files that I am working with: application.php and process.php. application.php mainly has the HTML of the form. process.php has the PHP for processing and validating the form. I am very new to learning PHP (I started learning it last week) and I have been searching for hours
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.