1 résultat trouvé
- par xcislav
- 15 avr. 2014, 10:22
- Forum : PHP débutant
- Sujet : Save to mysql and show text while typing onkeypress
- Réponses : 0
- Vues : 650
The idea is simple. A key you press (a letter) appears in updated page: keyj.php: <input id='k'></input> <script type="text/javascript"> document.getElementById('k').onkeypress=function() { <?php $db=new PDO('mysql:host=localhost;dbname=test;charset=utf8','$us','$ps'); $db->exec("UPDA...
Nous sommes le 24 juin 2026, 09:24