I am modifying an upload script to submit the number of files that will be uploaded, but the button that will be used to submit will not show up on the page. If I put the button tag before the form tag, it shows up, but will not submit the data. When I move the button to before the PHP code, the button shows up, but after the code, and the button will not show up. This page works just fine in IE.
here is the code for select.php
_________________________________________________________
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "
<html xmlns="namespace" xml:lang="en" >
<head>
<title><?php echo $title_page; ?></title>
<meta http-equiv="content-type" content="application/xhtml+xml; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="site_files/style/web.css" />
<link rel="Shortcut Icon" href="site_files/pictures/favicon.ico" />
<script type="text/javascript" src="site_files/ie_drop.js"></script>
</head>
<body>
<form action="upload.php" method="post">
<select name='num'>
<?php
for($i = 1; $i <= 5; $i++)
{
echo "<option value=".$i.">".$i."</option>";
}
?>
<br /><br />
</form>
<input type="button" value="Button" />
</body>
</html>
___________________________________________________________
Please help me...
Many thanks,
Bryan
here is the code for select.php
_________________________________________________________
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "
<html xmlns="namespace" xml:lang="en" >
<head>
<title><?php echo $title_page; ?></title>
<meta http-equiv="content-type" content="application/xhtml+xml; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="site_files/style/web.css" />
<link rel="Shortcut Icon" href="site_files/pictures/favicon.ico" />
<script type="text/javascript" src="site_files/ie_drop.js"></script>
</head>
<body>
<form action="upload.php" method="post">
<select name='num'>
<?php
for($i = 1; $i <= 5; $i++)
{
echo "<option value=".$i.">".$i."</option>";
}
?>
<br /><br />
</form>
<input type="button" value="Button" />
</body>
</html>
___________________________________________________________
Please help me...
Many thanks,
Bryan