Jump to content

phppup

Members
  • Posts

    897
  • Joined

  • Last visited

  • Days Won

    1

Community Answers

  1. phppup's post in Creating a unique page for every user using PHP PDO and MySQL was marked as the answer   
    At first glance I have two questions that come to mind.
    First, why are you using the query SELECT * (asterisk gives ALL values) if you want ONLY values for a specific user?
    Perhaps, SELECT item, next item, etc WHERE username = $username would be more defining. (You can research "php select where" for better understanding)
    Also, I don't see anywhere that you are specifying which user's information you want displayed.
    Maybe I missed something, but I hope this is helpful.
     
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.