You don't need to use forms (which you got wrong), but simple links with
target=lowerframe and
href=lowerframe.php?tableID=$tableID, then you get in your
lowerframe.php $_GET['tableID']
Adrian Partenie wrote:
Hello,
I could use some help.
I have two framed pages, upperframe.html and lowerframe.html. In upper frame.html:
echo table border=1;
echo trtd/tdtdID/tdtdSubject/tdtdOpen/tdtdClose/td/tr; while($row = MySQL_fetch_array($result)) {
echo trtdforminput type=\checkbox\ method=\post\ name=\linia\/form/td;
echo tda href=\\ target=\_parent\{$row['id']}/a/td; ??
echo td{$row['subject']}/td;
echo td{$row['open']}/td;
echo td{$row['close']}/td/tr;
}
echo /table;
I display the content of the main table, which has an autoincrement index. For every index I have another table, something like tableID. What I want is to press on the id from a row in upperframe table and to display in lowerframe the tableID. How can I do that?
Thanks a lot,
Adrian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php