add_medoc.php
977 Bytes
<HTML>
<HEAD><link rel="stylesheet" type="text/css" href="page.css">
</HEAD>
<BODY>
<div id="container1">
<form enctype ="multipart/form-data" action ="upload_image.php" method="POST">
<p>Nom du médicament :</p>
<input type="text" name="nom_medoc" value="<?php if (isset($_POST['nom_medoc'])){echo $_POST['nom_medoc'];}?>"/>
<p> Nom molécule : </p>
<input type="text" name="molecule" value="<?php if (isset($_POST['molecule'])){echo $_POST['molecule'];}?>"/>
<p> Photo du medicament :</p>
<input type="file" name="photo">
<input type="hidden" name="MAX_FILE_SIZE" value="30000" /><br>
<p> Posologie : </p>
<input type="text" name="posologie" value="<?php if (isset($_POST['posologie'])){echo $_POST['posologie'];}?>"/>
<br/>
<p> Indications : </p>
<textarea name="indic" rows="8" cols="45"></textarea></br>
<input type="submit" value="valider" name="valider"/>
</form>
</BODY>
</HTML>