Is there a way to get the info from a database to be a php constant
like the $q['value'] in the example below will be turned in to a constant from the array.
ex. ( yes, I know you shouldn't use mysql_query() etc functions but it's only for an example )
$query = mysql_query("SELECT `value` FROM `data`")
while($q = mysql_fetch_array($query))