TruthElixirX
12-10-2005, 02:52 AM
I need to grab userinfo from a specific field to be used in the templates. Would the correct syntax be:
$userinfo[field6];
to get user information and insert it somewhere like
<div style="background-color:$userinfo[field6];">
and on the field name do I use the id or name?
Right now using the above code I get:
<div style="background-color:;">
It isn't grabbing the profile field.
$userinfo[field6];
to get user information and insert it somewhere like
<div style="background-color:$userinfo[field6];">
and on the field name do I use the id or name?
Right now using the above code I get:
<div style="background-color:;">
It isn't grabbing the profile field.