Quote:
Originally Posted by Opserty
What exactly are you trying to do? Are you trying to get the value or the actual name?
(Read the previous link and see how variables differ in single/double quotes. Note: If you want the value, there is no need to use quotes at all)
|
Ok to explain. I have a setting in my vbulletin called tum. I wish to retrieve this setting from the database and input it in place of tum. So if tum equaled 28:
$tume = array('$vbulletin->options['tum']');
Would become:
$tume = 28
So how would I go about this?
P.S. This code is going in the admin area and it's the first time I have messed around with the admin area for modifications. So I was kind of looking for a straight up answer, so I could fiddle around in the file and figure out EXACTLY where the script needs to execute. Sorry for being impatient, but if it's not in the right area to begin with the script won't work anyway so I have no idea if escaping worked. Get my drift?