Inserer dans bdd

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

26
Upload d'image CMS jour2

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

1
Problème extension Chrome pour Twitch

html("Le stream est actif") }else{ $("#info").html("Le stream n'est pas actif") $("#click").click(function(){ chrome.tabs.create({url :'https://www.twitch.tv/darkbestplayer'}) }) } } } xhr.send() ``` Fichier bakground.js ``` setInterval(function(){ checkStream(); }, 5000); function

3
problème d'affichage de formulaire dans modalbox
wenz,

Html->script('tiny_mce/tiny_mce.js',array('inline'=>false));?> tinyMCE.init({ mode:'textareas', theme: 'advanced', plugins: 'inlinepopups', theme_advanced_buttons1:'image', theme_advanced_buttons2:'', theme_advanced

1
Problème SQL WHERE

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

8
[RESOLU ]Redirect incorrecte après la validation d'un formulaire.
Pec,

Html->link( 'Ajouter un Article', array('controller' => 'contenuarticles', 'action' => 'add') ); ?> Id Title Action Created

3
Réécriture de l'url pose probème

Html', 'Session', 'Date'); public $components = array('RequestHandler'); /** public $cacheAction= array( 'index'=>'2 DAY', 'show'=>'2 DAY' ); **/ public $uses = array('Post'); function menu(){ $posts = $this->Post->find('all',array( 'conditions' => array

0
Ajax dans Ajax

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

4
Web app

html(' '+nouveauPays+' '); $("div[id=two] h2").html(pays).attr('style','margin-top:-14px;padding-bottom:5px;color:#C00'); $('div[id=foo] #list').html(""); $("div[id=foo] div[data-role

1
Affichage Modal

html) && (content_html != ''))bdy.innerHTML = content_html; content.appendChild(bdy); ftr.className ='modal-footer'; ftr.innerHTML = footer; content.appendChild(ftr); $('body').append(modal); create_button("button", "Envoyer", "modalClick", "#modalHere", "modalClick", true, "#envoyerInformations");//mettre display none

6