[Solved] php form doesn’t post on the page


First, your English is good. Second, there are a lot of things I would recommend working on before being concerned if it posts or not.

mysql vs mysqli

mysql extension depreciation warning

input type=”password”

  • …provide a way for the user to
    securely enter a password. The element is presented as a one-line
    plain text editor control in which the text is obscured so that it
    cannot be read, usually by replacing each character with a symbol such
    as the asterisk (“*”) or a dot (“•”). This character will vary
    depending on the user agent and OS.
    https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/password

Here’s a handy link to get familiar with different input types

if…submit

redirect upon submit

  • It looks like you might want to redirect the user to a different page to view the data after submission. Below is an example of how to do that.

    # after your query and insertion into table       
    $profile_url="http://" . $_SERVER['HTTP_HOST'] . '/profile.php';
    $header('Location: ' . $profile_url);
    

0

solved php form doesn’t post on the page