Unfortunately, the username and password you have entered do not match!

Registration

Unfortunately, this username is already taken!

Unfortunately, this e-mail address is already used!

Please retype the verification code.

All fields are required

RSTickets! Pro - Extract some database values inside a custom field

Extract some database values inside a custom field

In order to display information from your database in a custom field defined for one of your departments you will need a custom script in the Values property of the field, for example:

//<code>
$db =& JFactory::getDBO();
$db->setQuery("SELECT your_value FROM your_table");
$result = $db->loadResult();
return $result;
//</code> 
Feedback