|
|
#1 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Sep 2007
10 posts
Gave thanks: 3
Thanked 0 times
|
Wondering how I can accomplish this...
I am designing a soccer website and am looking for some type of script/program that will allow an admin to access the site to update field conditions. Something real simple, like you see on the right hand column of this website: http://www.capefearsoccer.com/home/default.asp
It would need the date/time, so visitors to the site would see that it had been updated recently. Does anyone know where I can find something like that? I don't even know what you would call it so I could search for it. TIA! |
|
|
|
|
|
#2 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Aug 2007
23 posts
Gave thanks: 4
Thanked 3 times
|
Store the type of user in a session e.g SESSION['userType']="admin";
So add a field userType to your DB, assuming you're using a DB :p For the date just use the Date() function of php, it doesn't come any easier. I hope this helps you a bit :-)
__________________
Domain: braincracking.net; Server: sh127; Usage:
|
|
|
|
| This user thanks braincracking for this great post! | fourstone (September 11th, 2007) |
|
|
#3 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Sep 2007
10 posts
Gave thanks: 3
Thanked 0 times
|
Well, it's certainly a start! I'm sorry to say that I need more detailed instructions, though.
I don't expect you to take up your time, but if you know where I could find more details, I would greatly appreciate it. I had no idea where to even begin looking! |
|
|
|
|
|
#4 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Aug 2007
23 posts
Gave thanks: 4
Thanked 3 times
|
I'm willing to do that mate, but it's like 5am where I'm living right now :p
I'll look into it tommorow, and give you atleast some links to websites that should guide you in the right direction. -Ben
__________________
Domain: braincracking.net; Server: sh127; Usage:
|
|
|
|