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

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

5
léger problème avec cakephp + theme Core

Html->link("Pages",array('controller'=>'pages','action'=>'index')); ?>

3
Replace par expression

html> par J'utilise donc la fonction replace : $(this).html($(this).html().replace(' ', ' ')); Je me demandais s'il était possible d'utiliser des expressions régulières, du style : $(this).html($(this

1
Pagination d'une recherche

Html->link(__('Nouvelle Personne'), array('action' => 'add')); ?>

3
Gulp + Livereload

html' ]) .pipe(livereload()); }); gulp.task('css', function() { return gulp.src([ 'www/**/*.css' ]) .pipe(livereload()); }); gulp.task('php', function() { return gulp.src([ 'www/**/*.php' ]) .pipe(livereload()); }); gulp.task('reload', function() { livereload.listen(); gulp.watch('www/**/*.html', ['html']).on('change

0
Petit problème de charset

Html->image("icons/add_message.png",array('alt'=>'Add Message','url' => array('controller' => 'story', 'action' => 'addmessage', $storyAuthor'stories']'id'])));?>

8
Creer un site de A à Z jour 5: Problème tableau d'options Form.php

html .= ' '; }elseif($options['type'] == 'textarea'){ $html .= ' '.$value.' '; }elseif($options['type'] == 'checkbox'){ $html .= ' Mettre en ligne '; } $html .= ' '; return $html; } } ``` PostsController: ```

2
[Résolu] Erreur avec formulaire Put->retourne Get?

Html->script('tiny_mce/tiny_mce',array('inline'=>false)); ?> tinyMCE.init({ mode:'textareas', theme: 'advanced', plugins:'inlinepopups,paste,image', theme_advanced_buttons1:'bold,italic,underline,|,bullist

9
Tuto jour 5 A-->Z (éditer un article)

html.=' '; }elseif ($options['type']=='textarea') { $html.=' '.$this->controller->request->data->$name.' '; }elseif ($options['type']=='checkbox') { $html.=' '; } $html .=' '; return $html; } } ?>[/code] admin\_edit.php [code] # Editer Un Article

1
Image sur les webmails

html = ob_get_contents(); ob_end_clean(); return MAIL::send($mail,$html,$object); } public static function send($mail,$html,$subject){ if (!preg_match("#^[a-z0-9._-]+@(hotmail|live|msn).[a-z]{2,4}$#", $mail

1