| The Arcive of vBulletin Modifications Site. | |
| 
			 
			#1  
			
			
			
			
			
		 | ||||
| 
 | ||||
|  What am I doing wrong? 
			
			There is this font hack posted on vb.org, and I'm trying to customize it so that when you edit it, it's on a seperate page rather then the profile or options page. Anyways I have everything working now but the sql query and was hoping some of the brains here could show me what I am doing wrong with how I have written this query. if ($_POST['do'] == 'updatefont') { echo "Updating font"; globalize($_POST, array('font' => STR)); // Support tags HTML grog6 $font = strip_tags($font); $DB_site->query(" UPDATE " . TABLE_PREFIX . "user SET font = '" . addslashes($font) ."', WHERE userid = $bbuserinfo[userid] "); $url = "usercp.php?$session[sessionurl]"; eval(print_standard_redirect('redirect_updatethank s')); } That will give me this wonderful error.... Quote: 
   | 
| 
			 
			#2  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   Code: font = '" . addslashes($font) ."'[high],[/high]   | 
|  | 
| 
 | 
 | 
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
| 
 | |
|  More Information | |
| Template Usage: 
 Phrase Groups Available: 
 | Included Files: 
 Hooks Called: 
 |