une troisieme syntaxe que je ne comprend pas
desolé j'espere que c la derniere
C'est quoi ce point avant le = "output.="
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 //! Un manipulateur /** * Cr�e une table (HTML) de produits * * @return void */ function productTable($rownum=0) { $rowsperpage='20'; $this->model->listProducts($rownum,$rowsperpage); $this->output.="<table width=\"600\" align=\"center\">\n<tr>\n". "<td class=\"heading\">Désignation</td>\n". "<td class=\"heading\">Prix</td>\n</tr>\n"; while ( $product=$this->model->getProduct() ) { $this->output.="<tr>\n<td><a href=\"".$_SERVER['PHP_SELF']. "?view=product&id=".$product['PRODUCTID']."\">". $product['PRODUCTNAME']."</a></td>". "<td>".$product['UNITPRICE']."</td>\n</tr>\n";
Merci
Partager