June 23, 201313 yr What would say is the best way of doing this task I have created a admin panel, with various options, its all dynamic and working. There options they the users can click on which will then allow to edit content in there specific database, some users have more options than others for example user one gallery 1 gallery 2 shop webpage content. user two shop webpage content. The options they can use as set by myself but the page still renders all the options. The options they can see in there admin panel are still there and want them too stay they (the options) what i want is to be able to send people with certain options not available in their package to an upgrade or demo page that shows what they could do if they upgraded. I have a clue how to do this but my question is this. Please note -- as admin i create the tables in the database manually so if they haven't upgraded that table wouldn't exist in there database which method is better 1) In for example user table you have a column that is emnu field, that 1 = true and 0 = false so webcontent field in the user one and user two would = 1 but gallery 1 and gallery 2 field for user two would = 0 where user one would = 1 if true render the right response for that the user, in admin panel or false render demo or whatever or 2) if table exist = true and if table doesnt exist = false so if me the admin (me) has created the table in that database for that user. it would = true the sql call would come true and render the control page for that option If they havn't upgrade then false (no table there) and would render the demo page or whatever for that optionTHE QUESTION IS IN ITS SIMPLEST FORM which is better? or is it the same bull**** is if table exist do something, or if table doesnt exist do something else or field in user table that equal true or false and render that page differently depending on answer?? Edited June 23, 201313 yr by sergRamalli
Create an account or sign in to comment