php - Get authed user's settings -


sorry title im pretty worthless @ php/mysql couldnt figure out title

i'm creating community fun.

i need able of authed user's info throughout site.

whats best way this? right have query in index.php (i include pages thru index.php) querys users table id = session[id]. guess slow down site every user keeps reloading pages.

what wonder is, there smarter way?

get information when user first logs in, keep data need in $_session array.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -