html->link($html->image('/img/fre.png', array('alt'=>'Français','title'=>'Français')), array('language'=>'fre')+$this->params'pass'], array('escape'=>false));?>
HTML, j'affiche le résultat de la requête ci-dessous dans un tableau HTML : ``` public function mavue() { $this->set('mesventes', $this-Ventes>find('all', array('sum(prix)AS total','group
html){ $("#supOrder").html(html); } }); }); ``` Si dessus la fonction JS qui détecte le clic d'un bouton. ``` $this->data['balance'] .= ' '; $this->data['balance'] .= ' '; ``` Et le code PHP qui crée le bouton
Html->link(__('Liste des cadences'), array('action' => 'index')); ?> [/code] Mon index.ctp [code]
html j'ai ceci : ```html Login <form method="POST" action="http://local.dev/monsite/public/login" accept-charset="UTF-8"><input name="_token" type
html){ afficher(html); history.pushState({key : i}, 'titre', url); }, error: function(XMLHttpRequest,textStatus,errorThrown){ alert(textStatus); } }); }; window.onpopstate = function(event){ var urlcourant = document.location.pathname; alert(event.state); if(event.state == null){ $.ajax({ url : '/intranet/refonte/index.php', cache
HTML $message.= "Content-Type: text/html; charset=\"ISO-8859-1\"".$passage_ligne; $message.= "Content-Transfer-Encoding: 8bit".$passage_ligne; $message.= $passage_ligne.$message_html.$passage_ligne; //========== $message.= $passage_ligne."--".$boundary."--".$passage
html = ''; foreach ($projects as $project) { $html .= $this->renderView('resume.html.twig', array( 'project' => $project, )); } if ($html == '') { $this->addFlash('error', 'warn.project.check'); return $this->redirect($this->generateUrl('project_list')); } // Génération du pdf $html2pdf = $this
html, body').stop().animate({ 'scrollTop': $target.offset().top+2 }, 500, 'swing', function () { window.location.hash = target; $(document).on("scroll", onScroll); }); }); }); })(jQuery); ``` Code sur ma page html qui fonctionne bien: Code : ``` $(document).ready(function