[SOLVED]Need some help *large code*

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

As i already asked: Are you sure the login.tpl and $_GET['page'].tpl don't call [php_man]die[/php_man]?

Because edit_news.tpl and delete_news.tpl seem to do so... In the case they do, the switch would never be reached, because php dies before that...
User avatar
Diod
Forum Commoner
Posts: 52
Joined: Tue Oct 19, 2004 9:07 am

Post by Diod »

guess what... main.tpl had a die().... :)

so i removed that and now it works! thx mate :)
Post Reply