cgull 25 Light Poster

I think it might be because of these lines:

<option value="" selected="true"></option>

It sees the option as selected and inserts value 0 into the table.

cgull 25 Light Poster

Hi,
I never used iframe so I'm not sure, but I would say you would need to call the php parent page and send it parameters.

Something like:

<a href="parent.php?parameter1=something&ampparameter2=something">Call Parent</a>

I need more details of what you are trying to do, in order to help.

cgull 25 Light Poster

Try:
echo '<iframe>';
include 'ianswer.php';
echo 'etc. </iframe>';

cgull 25 Light Poster

I think instead of this line:
$query = "SELECT tour_amount, tour_name FROM `tbl_tour_profile`
WHERE tour_code = '$code'";

You should have:
$query = "SELECT tour_amount, tour_name FROM tbl_tour_profile
WHERE tour_code = '$code'";

No ' around the table name

cgull 25 Light Poster

Maybe because of this?

$Skill1 = Trim(stripslashes($_POST));

When the name of the select does not have space in it: Skill1

cgull 25 Light Poster

Or maybe try:
<div style="float: left; width: 50%;">
<table>....
</div>
<div style=float: left; width: 50%;">
<table>....
</div>