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

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

problem with PHP-code

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

Hi,

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)
http://www.genbrugsplads.info/test.php?tabid1=1_2

The forms calls itself - in an ape-form.

Thanks for help

Best regards
Bjarne

administrator
Site Admin
Site Admin
Posts: 6011
Joined: Jan 7th, '09, 23:18
Contact:

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 http://www.genbrugsplads.info/test.php?tabid1=1_2
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”