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
AJAX CAKEPHP

html(' '); $('#select_prix').html(''); $.ajax({ url: varGlobaleRacine + 'Lignecommandes/getPrix/' + idProduit, type: 'GET', dataType: 'JSON', success: function (response) { prix_s = response.prix_s; if(prix_s.length == 0){ $('#prix_id').html(' Aucun produit pour le moment

0
can't display correctely the page with ajax

html){ afficher(html); }, error:function(XMLHttpRequest, textStatus, errorThrown){ alert(textStatus); } }) return false; }); $("#main-menu a").bind('click',function(){ page=$(this).attr("href"); $("a ").removeClass('active'); $(this).addClass('active'); $.ajax({ url: "contenu

4
Laravel 10 - Deloy meilisearch on Ubuntu VPS

html, components}) { return html` ${components.Highlight({attribute: 'name', hit})} ${components.Highlight({attribute: 'fonction', hit})} `; }, empty(results, {html}) { return html`Aucun résultat pour ${results.query} `; }, }, }), ]) search.start() ``` **Mon erreur de la console** app.a0c25223.js:25 MeiliSearchCommunicationError: Not Found

4
Fonctionne dans un onclick mais pas ailleurs

html(' +1€ / clic '); } else { $("#upgrades").html(''); } $("#upgrade1").click(function(){ cbPerClick = cbPerClick + 1; monnaie = monnaie - coutUpgrade; coutUpgrade = coutUpgrade * 5; showMonnaie(); showCps(); $("#upgrades").html(); console.log(coutUpgrade) }); }); // fin clickhere click ``` Genre... **POURQUOI** ? J'ai beau

6
Probleme mediaController

Html->image($v'url'], array('style' => 'max-width:175px')).' '; echo ' '.$v'name'].' '; echo ' '; foreach($formats as $kk=>$vv): echo $this->Html->link('Image '.$vv."px", array('action' => 'show', $v'id'],$kk)).' '; endforeach

7
Problème navigation ajax

html){ afficher(html); history.pushState({key:'value'}, 'titre', page); }, error:function(XMLHttpRequest,textStatus, errorThrown){ afficher("erreur lors du chagement de la page"); } }) return false; }); window.onpopstate = function(event){ //lancer des qu'il y a back

4
Comment intégrer Modalbox à CakePHP ?

html->link('Ajouter un utilisateur',array('controller'=>'users', 'action'=>'edit')); ?>

2
Récuperer valeur input

html_x('Category', 'Company', 'reales'); ?> *    

2
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