[SOLVED]Getting a User's Properties through the User Defined Tag
Posted: Wed May 13, 2009 10:45 pm
All,
I am looking for a way to pull the information from FEU to build a query on the database. I have had no issues using the tag {$ccuser->property('propertyname')} on a page or in a template. However I want to be able to get the information using a "User defined tag". Is there a library or refercene that I can use to assign these values to PHP varabiles and query the databse?
I would like to do something to the effect of:
property('FName');
$query = "SELECT * FROM TABLE WHERE FNAME = '" . $firstName . "'";
?>
Thanks,
Nick
I am looking for a way to pull the information from FEU to build a query on the database. I have had no issues using the tag {$ccuser->property('propertyname')} on a page or in a template. However I want to be able to get the information using a "User defined tag". Is there a library or refercene that I can use to assign these values to PHP varabiles and query the databse?
I would like to do something to the effect of:
property('FName');
$query = "SELECT * FROM TABLE WHERE FNAME = '" . $firstName . "'";
?>
Thanks,
Nick