0 Replies Latest reply on Jun 9, 2008 1:28 PM by destind4film

    Get Username from MySQL

      So I am building a very simple blog using PHP and MySQL. I have just finished creating a "comments page" for users to fill out and a "view comments" page. But the problem I have is that my form right now requires the user to type in their username. I do not really know any other way to make this work so that the username is displayed in the view comments page.

      Does anyone know how I can display the user who added the comment?

      Here is a code snippet: