2009-01-04, 12:16 PM
Hi,
I want to use a global variable in MyBB system and so to do that I', thinking of useing the SQL database the system uses. I created a table named 'myhebbb_generalsiteoperations' (the 'myhebbb_' is my/the TABLE_PREFIX) with one field named 'dateformat' (its set as an INT with default of zero(0)). My knowledge of SQL is very limited. Please tell me whats the line/statement to set the field to either one(1) or zero(0) and the one to check its value.
Thanks a lot,
Ori...
I want to use a global variable in MyBB system and so to do that I', thinking of useing the SQL database the system uses. I created a table named 'myhebbb_generalsiteoperations' (the 'myhebbb_' is my/the TABLE_PREFIX) with one field named 'dateformat' (its set as an INT with default of zero(0)). My knowledge of SQL is very limited. Please tell me whats the line/statement to set the field to either one(1) or zero(0) and the one to check its value.
Thanks a lot,
Ori...