Posts by Kauan Douglas • 3 points
2 posts
-
-1
votes2
answers104
viewsQ: Run Javascript commands by PHP
I have the following problem, I cannot run Javascript commands from PHP. Page check time.php <?php echo 'alert("teste")'; ?> Page index php. <script…
-
-2
votes1
answer52
viewsQ: How to call a connection within a function?
<?php define('HOST', 'localhost'); define('USER', 'root'); define('PASS', ''); define('DBNAME', 'soufood'); try { $conn = new PDO('mysql:host='.HOST.';dbname='.DBNAME.';',USER, PASS);…