- $query="SELECT * FROM storage WHERE owner = '".$_SESSION['account_id']."'");
You maybe forgot the session_start(); at the begining of your php file.
And yes you have to use $_SESSION['account_id'] to get the user id.
The correct query is :
Moderators: osRose dev team, ospRose dev team, osiRose dev team, Moderators
Return to PHP / Web Guides, Scripts and tools.
Users browsing this forum: No registered users and 3 guests