Salut, aidez moi s'il vous plait, je veux afficher un truc avec innerHTML mais ça fonctionne pas.
Fonctionne pas = ça affiche ça :
Code php : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 $modify='<td><input type="text" value="test"></td><td><input type="text" value="test"></td>'; //echo $modify; => FONCTIONNE TRÈS BIEN ! echo '<td><img onclick="document.getElementById(\'testlol\').innerHTML = \''.$modify.'\';" src="img.png" style="height:20px;width:20px;"/></tr>';
';" src="img.png" style="height:20px;width:20px;"/>
Partager