Here is the finished script (almost working), need to update it though.
<?php
require_once 'dg/connect.php';
/* I am trying to create a mysql query. Inside of the submit if-loop, there is one or two statements that run a mysql query command. My problem is: it's not working. I don't know...
This is my latest code (not working yet)
<?php
require_once 'dg/connect.php';
/* I am trying to create a mysql query. Inside of the submit if-loop, there is one or two statements that run a mysql query command. My problem is: it's not working. I don't know how to make This
work but I...
This is my code. I'm creating a game. The address to the game or shall I say, this page, is ecolina.eu/r.php; I have not decided yet if it's going to be a game about horses or cats. But I need help with my code. There is something wrong with the if-statements! When I use this if-statement (in...
I am here, and I don't understand how to continue
The registration form submits to register.php using the HTTP POST method. To process the form data, you can check if the HTTP request is POST at the beginning of the register.php file like this:
if(strtoupper($_SERVER['REQUEST_METHOD']) ===...
Actually, I found this site: https://www.phptutorial.net/php-tutorial/php-registration-form/
The only problem I have here is it says
The following shows how to use the filter() function to sanitize and validate the user inputs:
And I don't know where to put this filter
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.