Gestion de produit avec Cake php

Html->css('styles'); ?>

5
Condition d'affichage d'élément du menu

Html->link('News',array('controller'=>'posts','action'=>'index'));?>

7
problème soumission formulaire

html = array()) { $options = _parse_attributes($options); $options_html = _parse_attributes($options_html); if (!isset($options'with'])) { $options'with'] = 'Form.serialize(this.form)'; } $options_html'type'] = 'button'; $options_html'onclick'] = remote_function($options

1
Aide Upload PHP

HTML_TEMPLATE', 'default.tmpl'); if (!file_exists(HTML_TEMPLATE)) die( HTML_TEMPLATE . ' est manquant'); if (isset($_REQUEST['save'])) { $inputs = filter_input_array(INPUT_POST, array( 'page_name' => FILTER_SANITIZE_ENCODED, 'page

3
Simplifier un code PHP

html = new simple_html_dom(); $html->load_file('#lien_1'); $csv = []; foreach($html->find("#btable tr") as $item) { $td =$item->find("td"); $temp = []; for($i=0;$i

14
Afficher les extensions tirées d'une liste via SimpleDom

html = new simple_html_dom(); $html->load($serveur); //-- Modification de l'HTML foreach ($html->find('h1') as $title){ $title->outertext = ''; //je supprime le titre } foreach ($html->find('a') as $a){ // je cherche

3
Zoombox et cakephp 3

Html->link($this->Html->image($replace,array('alt'=>'CDI', 'title'=>'CDI', 'border'=>'none')), '/img/url/url-mon_image', array('class'=>'zoombox','escape' => false) ); echo ' '; } else{ echo ' ' ; echo $this->Html->link($this->Html->image($replace

0
Avis sur la création d'un menu via un helper

Html->link($b['name'], $b['url']); } else { $res .= "\n\t" . $this->Html->link($b['name'], array('controller' => $b['controller'], 'action' => $b['action'])); } } } foreach ($pages as $page

1
Notice (8): Undefined variable: animal [CakePHP2]

Html->link( 'Ajouter un Animal', array('controller' => 'animaux', 'action' => 'add') ); ?>

5