PDA

View Full Version : admincp submit button redirecting


HyperActiv
11-02-2010, 09:40 PM
Hey,

Recently I've created a file called admincp/user_nickname.php which finds and changes only users nicknames.

the problem is that when I am typing the username in the input field and press on the submit button, its redirect me to the next page but in admincp/user.php and not admincp/user_nickname.php.

How can I redirect the submit button for my file?

kh99
11-02-2010, 11:38 PM
If you have code that says:

print_form_header('user', ...then change it to

print_form_header('user_nickname', ...

HyperActiv
11-03-2010, 11:10 AM
If you have code that says:

print_form_header('user', ...then change it to

print_form_header('user_nickname', ...

Yeah thanks I've found it 10 minutes after I posted the thread. Thank you anyway!