Help With Statement - 01/30/2005 6:48 PM
Im trying to write an If statement here.
if ($user_profile[104] eq 'yes')
blah blah
however if i write a
print $user_profile[104];
its not printing anything, and I know its because Im probably not writing a require statement in the code somewhere.
Which file do I have to require in order to grab the user_profile information. Ive tried so many, like ubb_lib_posting, ubb_profile, etc.
The [104] is only in cp_users.cgi that I created, and it writes to the members file.
I tried including cp_users.cgi but its not grabing the data from that array.
Any ideas?
if ($user_profile[104] eq 'yes')
blah blah
however if i write a
print $user_profile[104];
its not printing anything, and I know its because Im probably not writing a require statement in the code somewhere.
Which file do I have to require in order to grab the user_profile information. Ive tried so many, like ubb_lib_posting, ubb_profile, etc.
The [104] is only in cp_users.cgi that I created, and it writes to the members file.
I tried including cp_users.cgi but its not grabing the data from that array.
Any ideas?