Help with MySQL and PHP, How to solve this?

Qarnayn

New member
Let say,

John information saved in Users Table:
name, email, password.

John has log in with his email and password,
and session had been created:
session_register(email);
session_register(password);

John want to post a comment, which will store in Comment Table:
name, comment

How to auto fill for name field, comment field will use user input.

** please tell if the question not clear.
 
Back
Top