Add some comments to explain what the code does.
This commit is contained in:
parent
03825b39fc
commit
2284fc6860
1 changed files with 4 additions and 0 deletions
|
@ -26,7 +26,11 @@ if (isset($_GET['dbg']) && ($_GET['dbg'] == 1)) {
|
|||
$DisplayDbg = true;
|
||||
}
|
||||
|
||||
// Create a command object using the user's parameters.
|
||||
$nel_command = new NelCommand($_GET);
|
||||
// Create a connexion handler to process that command.
|
||||
$connection_handler = new ConnectionHandler();
|
||||
// Connect the connection handler to the database.
|
||||
$connection_handler->connect($DBHost, $DBUserName, $DBPassword, $DBName);
|
||||
// Process the command sent by the user.
|
||||
$connection_handler->process_command($nel_command);
|
||||
|
|
Loading…
Reference in a new issue