problem with Query database in routes.php file |
[eluser]widiastono[/eluser]
dear all, I have problem to query database table in routes.php file, this the details story: I have table in database which contains some filed mic_modules id name active i want to query which modules name is actice and use it to route to my url, sample, if i get query news is active from my mic_modules tables so i can redirect to http://127.0.0.1/ci/index.php/news, but if i can't it when i access http://127.0.0.1/ci/index.php/news i will route to http://127.0.0.1/ci/index.php/default. Simple explaination is i want to get which modules is active but i query it from database table. any advice for this problem? please help... widiastono |
Messages In This Thread |
problem with Query database in routes.php file - by El Forum - 07-12-2007, 06:15 PM
problem with Query database in routes.php file - by El Forum - 07-12-2007, 08:11 PM
problem with Query database in routes.php file - by El Forum - 07-12-2007, 09:42 PM
problem with Query database in routes.php file - by El Forum - 07-12-2007, 09:44 PM
|