HELLO
HOW TO DISPLAY AUTO_INCREMENT VALUE FROM THE THE DATABASE TO THE PAGE.
$result = pg_query($conn, "INSERT INTO novice VALUES(NEXTVAL('sq'),'$title', '$firstname', '$lastname', '$username','$password','$street','$town', '$city', '$postcode', '$country', '$mobile', '$email')");

if (!$result ){
print " Please make sure you put the right input in the field";
exit;
}
print ("Thank You $title $lastname ");

HERE I WOULD LIKE TO PRINT ID WHICH JUST BEEN ENTERED
SO THAT NEW CUSTOMER CAN SEE HIS OR HER ID
print (" <br> Your ID $noviceid ");
THANK YOU VERY MUCH FOR YOUR HELP
CHEERS

STOP TYPING IN ALL CAPS, OK? IT'S MAKING MY EYES BLEED.

Also this is totally the wrong forum to place this; if you want to get help for your PHP code, post it here.

Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.