rendered paste body<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
<head>
<title>Formulaire Menu</title>
<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
<script langage="javascript" type="text/javascript" src="niceforms.js"></script>
<style type="text/css" media="screen">
@import url(niceforms-default.css);
</style>
</head>
<body>
<form method="post" action="testing.php" class="niceform" name="test">
<select size="1" name="selection-sets" class="width_160">
<?php
$tableau = file('liste.txt');
if(is_array($tableau))
{
$contenu_fichier = '';
foreach($tableau AS $ligne)
{
echo '<option value='.$ligne.'>'.$ligne.'</option>';
}
}
?>
</select>
</form>
<br/>
<?php
$tableau = file('liste.txt');
if(is_array($tableau))
{
$contenu_fichier = '';
foreach($tableau AS $ligne)
{
echo $ligne;
}
}
?>
</body>