<?php
include_once 'collegamento.php';

$nome = $_GET['nome'];
$email = $_GET['email'];
$password = $_GET['password'];

$sql1 = $dbcon->query("SELECT * FROM hg WHERE...