tricky problem on passing value

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

mynmonic
New php-forum User
New php-forum User
Posts: 18
Joined: Tue Nov 26, 2002 3:35 am
Location: Hong Kong
Contact:

tricky problem on passing value

Postby mynmonic » Sun Feb 23, 2003 9:07 pm

My first page contain 2 frames, first frame a.html and second frame b.html, while b.html is actually displaying another 2 frames, c.php and d.php

Now my problem is I need to submit form from a.html and pass the name value to c.php inside the second frame, how can I do this? If I use <form action="c.php"...> in a.html, b.html won't be displayed in the seond frame of the first page, instead it's c.php :(
But I do need to have both c.php and d.php displayed in the second frame in a row.

Is that html capable of redirect a value from the last page submitted to a php?

Please help

User avatar
Oleg Butuzov
Last Samuray
Last Samuray
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Postby Oleg Butuzov » Mon Feb 24, 2003 12:06 am

target=framename

mynmonic
New php-forum User
New php-forum User
Posts: 18
Joined: Tue Nov 26, 2002 3:35 am
Location: Hong Kong
Contact:

Postby mynmonic » Mon Feb 24, 2003 8:56 am

But a.html do not know the frame name defined in b.html isn't it?

mynmonic
New php-forum User
New php-forum User
Posts: 18
Joined: Tue Nov 26, 2002 3:35 am
Location: Hong Kong
Contact:

Postby mynmonic » Mon Feb 24, 2003 10:29 am

ok I solved the problem in another way, but I still want to ask

is it possible for a html/php file to redirect a POST value it received, to another html/php file?


Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 2 guests

cron