
le 14/10/2006 à 12:04
Se placer en bas d'une div qui défile
Pour IE, une reponse pertinente... pourquoi ca me fait sourire... ? ^_^
<?php
//on affiche les sous-menus du menu GALERIES
$dir = opendir('./galeries/') ;
while ( $file = readdir($dir)) {
if(is_dir('./galeries/'.$file) && $file !='.' && $file != '..') {
$file2 = supprime_accents ($file) ;
echo '<div><a href="'.$_SERVER['PHP_SELF'].'?var_pages=3&dossier='.$file.'" title="">'.$file2.'</a></div>' ;
}
} ?>
<?php
if(isset($_POST['stock'])){
foreach($_POST['stock'] as $stock){
$produits[] = $stock ;}
$somme_produits = array_sum($produits) ;
print_r($somme_produits) ;
$prix= $_POST['prix'] ;
$pourcentage= (($prix * 20) / 100) ;
$resultat= ($prix - $pourcentage + $somme_produits) ;
echo'' ;
echo'<form action="./scripts/traitement.php" method="post">' ;
echo'<table summary="Pour encaisser">' ;
echo'<tr><td><input type="text" name="resultat" size="8" value="'.$resultat.'" /></td>' ;
echo'<td><input type="submit" name="caisse" value="Encaisser" /></td></tr>' ;
echo'</table></form>' ;
?>
Warning: Invalid argument supplied for foreach() in J:AppsPortableFVPAserverwwwChris_Coiffurepagescaisse.php on line 120
Notice: Undefined variable: produits in J:AppsPortableFVPAserverwwwChris_Coiffurepagescaisse.php on line 124
Warning: array_sum() [function.array-sum]: The argument should be an array in J:AppsPortableFVPAserverwwwChris_Coiffurepagescaisse.php on line 124
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//FR"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
<a href="[b]./[/b]"> <img.... /> </a>
overflow: scroll ;