This is what I want to do, thus far it is not working so I am thinking it's not possible.
In my database, I have the following:
$sql = "INSERT INTO ($_SESSION['username']) VALUES('$id','$category','$image','$content')";
Where the username is the table to which my content will be stored. I have echoed the username from my submit code (information is posted from a form and entered into the db), and it shows up correctly as the username. It works when I just enter the username straight up where the '($_SESSION['username'])' is; however, I wanted to it make it general so I did not have to make several pages for the several different databases relating to the users.
So is it possible or not? Thank you and have a nice day!