PHP Link is not responding

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

Post Reply
chanduonly
Forum Newbie
Posts: 2
Joined: Mon Nov 09, 2009 10:19 pm

PHP Link is not responding

Post by chanduonly »

Dear Friends,
This is chandu from india.I had problem with my code.I had given $action == 'add' with if statement.but it is not responding .Can any one helpme.I am ging the code below.

$action=hesk_input($_REQUEST['a']) or $action='start';
if ($action == 'start') {print_start();}
elseif ($action == 'add') {print_add_ticket();}
elseif ($action == 'forgot_tid') {forgot_tid();}
else {hesk_error($hesklang['invalid_action']);}

Regards
Chandu
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Re: PHP Link is not responding

Post by superdezign »

Hove you tried echoing $action to be sure it is what you think it is?
If so, and $action is equal to add, then the problem is in print_add_ticket(). You have not provided this code.
chanduonly
Forum Newbie
Posts: 2
Joined: Mon Nov 09, 2009 10:19 pm

Re: PHP Link is not responding

Post by chanduonly »

Hello friend,
Please help me to solve this problem.
Post Reply