![]() | |||||||
PHP Switch/Case netsuhi com/forum/viewtopic.php?t=16 More tutorials at: netsuhi com |
This is your code <?php switch(id){ case 'news': //what you want for news in here. break; case 'about': //what you want on the about page. break; default: //what text you want to display for default. break; } ?> I'm gonna bet it hits default everytime. |
If your going to post in here, post the code. This is, and can be seen as, advertising. I will lock each thread on site. |
| All times are GMT -7. The time now is 10:29 PM. |
Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0