problem with PHP-code

Discuss everything related to ApPHP Tabs. Any questions related to the ApPHP Tabs developing or using should be posted to this forum.

Moderators: alexandrleonenko, Milton

Posts: 28
Joined: May 23rd, '09, 21:06

problem with PHP-code

Postby kallesoe » Sep 11th, '11, 19:54


I can't find out how to stay with the Tabs page, when having a form in PHP

When I click submit it opens a new page.

See this link and try to click on the button (you don't need to fill out the form)

The forms calls itself - in an ape-form.

Thanks for help

Best regards

Site Admin
Site Admin
Posts: 6125
Joined: Jan 7th, '09, 23:18

Re: problem with PHP-code

Postby administrator » Sep 12th, '11, 08:15

We've tested and it worked for us: try to open page directly with
The problem is when you try to use HTML code with Tag FORM, so you get FORM inside FORM

The form that you upload into Tab has following attributes:

Code: Select all

<form action="/tabs/inc/getcontent.php?filename=............." id="form" method="post">

Try to change attribute action on appropriate value.

Return to “ApPHP Tabs”