Loading from Mysql Confings |
[eluser]elmne[/eluser]
Since you want to put values from database to global variables so that the values are accessible to all users, look at this post ellislab.com/forums/viewthread/89488/ Someone there used a workaround. But if it's per user and not all users, you could use sessions. ---- Try looking at this post where someone used constants instead of globals Quote:http://stackoverflow.com/questions/25271...l-variable also look at codeignitor.com/user_guide/libraries/loader.html you can use this to load your variables as you will find a description on that page that states Quote: |
Messages In This Thread |
Loading from Mysql Confings - by El Forum - 06-22-2010, 04:00 PM
Loading from Mysql Confings - by El Forum - 06-24-2010, 07:19 AM
Loading from Mysql Confings - by El Forum - 06-24-2010, 08:26 AM
Loading from Mysql Confings - by El Forum - 06-24-2010, 12:12 PM
Loading from Mysql Confings - by El Forum - 06-24-2010, 05:15 PM
|