Plupload : Passer une variable de session au fichier upload.php

marche pas $pdo->prepare("UPDATE users SET avatar=? WHERE id='$sessId' ")->execute([$u]) ; $pdo = null; */ $v='uploads/'.$u; $html=' '.basename($v).' × '; $html=str_replace('"','\\"',$html); die('{"error":false, "html": "'.$html.'"}'); } ?> ```

3
problème jquerydiaporama dans CakePhp

Html->script('jquery.jDiaporama'); ?> le code de ma vue index

5
Problème pour Transformer une fonction récursive PHP en jQuery :(
ksta,

html du dossier ou l'on doit inséré les nouveaux éléments * @return void **/ function treeToHtml(array,id){ $.each(array,function(key, value) { console.log(key + ': ' + value); /* si value est un tableau

2
Problème lecture de mail reçu par IMAP

html); //remove any HTML tags $message .= "\n"; //==html $message .= "--$boundary2\n"; $message .= "Content-Type: text/html; charset=utf-8\n"; $message .= "Content-Transfer-Encoding: 7bit\n"; $message .= "\n"; $message .= $message_html

6
Call to a member function link() on a non-object

Html->link('Activer mon compte',$this->Html->url($link,true)); ?> Alors c'est peut-être juste une faute de frappe mais je ne la vois pas. Au cas ou, voici

1
Impossible d'ajouter une image - tinyMCE !!

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

12
Problème de requête Php - PDO

HTML de la route const html = await fetch(actualRoute.pathHtml).then((data) => data.text()); // Ajout du contenu HTML à l'élément avec l'ID "main-page" document.getElementById("main-page").innerHTML = html; // Ajout

1
Vérifier qu'un utilisateur existe (AJAX PHP)

json', success: function(json) { if(json.isSuccess) { $('#success').fadeIn(); $('#contact-form')[0].reset(); } else { $('#identifiant + .comments').html(json.identifiantError); $('#email + .comments').html(json.emailError); $('#pass + .comments').html(json.passError); $('#pass_confirm + .comments').html(json.passError); } } }); }); }) ```

10
Boutons Copier multiples

HTML) : ``` function copyToClipBoard(num) { var content = document.getElementById('content'); content.select(); document.execCommand('copy'); alert("Copie !"); } ``` Mon HTML : ```

1
Double chargement de vue qui bloque js (please help)

Html->scriptStart(); ?> $(document).ready(function() { $(".transition-panel").css("display", "none"); $(".transition-panel").fadeIn(1500); $("a.transition").click(function(event){ event.preventDefault(); linkLocation = this.href; $(".transition-panel").fadeOut(1000, function(){window.location = linkLocation;}); }); });

7