View Full Version : how to add query $bgcolors
Digitalus
01-15-2009, 11:19 AM
Hi all..
How can i add the information from $classcolor into the database..
$vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "classcolors INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL");
Thanks....
Marco van Herwaarden
01-15-2009, 11:28 AM
Sorry but i don't understand your question.
What is $classcolor
There is no table with the name classcolors in a default vB installation.
Digitalus
01-15-2009, 11:33 AM
no i want to add the table myself, but dont know how..
A user can click on 2 links, yellow and black, $classcolor change the table colours
if i now click on the link the table change from colour but when i refresh the page the colours are back to default..
Sorry for my bad english..
Marco van Herwaarden
01-15-2009, 11:56 AM
<a href="http://dev.mysql.com/doc/refman/5.1/en/create-table.html" target="_blank">12.1.17. CREATE TABLE Syntax</a>
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.