Hello, i have a greate php-mysql userscript with admin/user/guest roles.
All the userdata is storied on mysql database.
Each user has an uniqe ID ( + 2 users cant use same email/username).
im newb in php/mysql, and this is just a "fun" project for me, to start learn how to work out with other real issues i will get to.
I make "add-ons" for fun for this script, and currently i have managed to make a member list with prev/next page.
The original script dont use includescript for website, but i use index.php?folder=[f-name]&page=[p-name].
So i have in my web root (WAMP-Server)
index.php
- folder1
folder1/admin.php
folder1/myaccount.php
folder1/setings.php
but i am not sure how i can make it so (for example) on my memberlist, if i click one of the users (id) then i will be sent to a new page (i dont know what to have of code on this new page/sql call-outs).
Sorry my english is bad, but i dont know what to have for my name page profil.php
i need to call out these values from database
(ATM i have tried out something else, but i dont want to change on the code and save the sensitive data on sessions, when its already on the db)
I only get out user_name and user_level with this, and i know why (i think). Because only this two values are saved in session, and what i need is something like my memberlist ($list['value'])
but how can i make it so that if i go to index.php?f=user&page=profil&id=[userID]
and this page will show the user info of the ID.
Bookmarks