Script Requests

This is guide mostly for website tools and code, for example CMS or registration scripts.
There can also be tools.

Moderators: osRose dev team, ospRose dev team, osiRose dev team, Moderators

Re: Script Requests

Postby hoegarden31 on Sat Mar 24, 2012 12:40 am

Just put your file in here :p
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 :
  1. $query="SELECT * FROM storage WHERE owner = '".$_SESSION['account_id']."'");
I'm the one and only. In heaven and on earth.
Image
hoegarden31
Rackie
Rackie
 
Posts: 150
Joined: Sun Nov 13, 2011 7:13 pm

Previous

Return to PHP / Web Guides, Scripts and tools.

Who is online

Users browsing this forum: No registered users and 6 guests

cron