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.'"}'); } ?> ```
Html->url(array('controller'=>'medias', 'action'=>'index', $this->request->data'Post']'id'])); // Variable du css $media_css = $this->Html->url('/css/wysiwyg.css'); ?>
HTML) : ``` function copyToClipBoard(num) { var content = document.getElementById('content'); content.select(); document.execCommand('copy'); alert("Copie !"); } ``` Mon HTML : ```
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;}); }); });
html = $this->renderView('admin/besoins/epicerie/exportPdf.html.twig', [ 'besoins' => $formValue, ]); $html .= ' '; $html .= ' '; $name = 'test'; $options = new Options(); $options->set('isHtml5ParserEnabled', true); $options->set('isRemoteEnabled', true); $dompdf = new Dompdf($options); $dompdf->loadHtml($html); // (Optional) Setup
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
HTML generated in our twig file $html = $this->renderView('account/facture.html.twig', [ 'order' => $order ]); // Load HTML to Dompdf $dompdf->loadHtml($html); // (Optional) Setup the paper size and orientation 'portrait' or 'portrait' $dompdf
html(result4); } else { $('.info').html('oups2'); } } }); } else { $('.check5').html(' Sélectionnez votre chargement'); $('.info').html(''); } }); voici la fonction qui aurait besoin des variables "availname" "availname2" et "r" voici le reste du code
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