Need help with php

database
#1

I am doing a personal project to improve my coding skill. I do familiar with HTML and CSS, but not PHP.

could you help me to solve the problem as seen in the picture below.

  • Shows up div element when the user correctly inputs user_id
  • Retrieve Value from database based on user_id

#2

Just use a propert WHERE condition

https://www.postgresql.org/docs/11/sql-select.html#SQL-WHERE