Hi, I have a bit of a problem with output of a form.
I have a form statement like
form method=post action=fetch.php
and a select statement like
select name=table
option selected table1
option table2
option table3
After I select the table in my MySQL db and press OK to run fetch.php, the output of fetch.php should have been seen in iframe.php, that I have included in index.php.
So the connection is: index.php has iframe tag with src="iframe.php" and iframe.php has
<?php include("fetch.php"); ?>
.
The problem here is, that when I press OK button, I get the url in browser http://bla.net/fetch.php for output... and there is only data that fetch.php echos... But I need the fetch.php to show output in iframe.php.
Where did I go wrong?