Mainos / Advertisement:

Translations:Mysql/63/en

Kohteesta Taisto
Siirry navigaatioon Siirry hakuun

<?php

 $con=mysqli_connect("127.0.0.1","root","Qwerty123","database");
 if (mysqli_connect_errno()) {
 echo "Connecting failed. " . mysqli_connect_error();
 }
 $result = mysqli_query($con,"SELECT * FROM data");
 while($row = mysqli_fetch_array($result)) {
 echo $row['mysql'];
 }
 mysqli_close($con);
 ?>
Mainos / Advertisement: