![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Feb 2003
Location: Sacramento
Posts: 1,751
|
PHP Help
I was hoping someone with PHP knowledge can help me here. Just learning, so probably a stupid question.
I am trying to set a global session variable from a sql select statement. But I am not getting anything passed. Here is a snip of the code. PHP Code:
ICQ #274397996 Thanks.
__________________
Selfpleasure.com for sale on auction. Closes on Tuesday March 11th at 9pm PST!!!! Dirty enough to be good, but clean enough for everyone! ------------------------------------------------------------------ ![]() Moral Police - First graduating class coming soon! - Forcing our values across the internet |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Aug 2001
Location: In a Bunker
Posts: 868
|
Do you have globals enabled?
__________________
Does anyone look down here? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Registered User
Join Date: Mar 2004
Posts: 25
|
php.net has good hahahahahahahahaation so RTFM =]
Look into the session handling functions.
__________________
<img src="http://mkugroup.ath.cx/krank.jpg"> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Feb 2003
Location: Sacramento
Posts: 1,751
|
Thanks for everyones help.
I wasn't creating the session variables correctly at the beginning. Also, was getting a PHP message on the bottom of every page about a warning with calling session variables. But it is all working now. ![]()
__________________
Selfpleasure.com for sale on auction. Closes on Tuesday March 11th at 9pm PST!!!! Dirty enough to be good, but clean enough for everyone! ------------------------------------------------------------------ ![]() Moral Police - First graduating class coming soon! - Forcing our values across the internet |
![]() |
![]() ![]() ![]() ![]() ![]() |