Jump to content

[SOLVED] Form operation in Firefox & IE6 works but IE7 does not.


Adam W

Recommended Posts

I have been using a form which allows a user to select a row of data with a radio button and then to action the selection by clicking a Submit Button.

The Form method = POST and the action = the name of the php file
The php checks a variable set by the radio button and this determines the action to take.

It works in IE6 and Firefox but not in IE7 and as the action is server side I can not really see how or why the Browser would interect with it. Anyone got any ideas?

Thanks
OK Php starts with

[code]<?php
include 'config.php';
include 'Masthead.php';
echo $Masthead;
echo "
<form method=\"POST\" action=\"results.php\">";
include 'OpenDb.php';
if ($del) {[/code]

I then go on to process the deletion of the record.

The Radio button is generated by
[code]echo "<input
type=\"radio\" value=\"$row[Pilot_Name],$row[received]\" name=\"delete\"></td></tr>";[/code]

which is called by looping throught the results of a MySql Query

And the action button is produced by this simple line of HTML

[code]<input type="submit" name="del" value="Delete Event"><br>
</form>[/code]

All of which seems to be simple and straight forward but I can not get it to work!  ::)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.