Folder reorganize 1
This commit is contained in:
12
OLD/arraytest.php
Normal file
12
OLD/arraytest.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
$host="192.168.0.4";
|
||||
$username="corey";
|
||||
$password="41945549";
|
||||
$database="controls";
|
||||
|
||||
$con=mysqli_connect($host,$username,$password,$database);
|
||||
$query = "SELECT * FROM controls ORDER BY id DESC LIMIT 1";
|
||||
$result=mysqli_query($con,$query);
|
||||
$array=(mysqli_fetch_array($result,MYSQLI_ASSOC));
|
||||
|
||||
echo $array;
|
||||
Reference in New Issue
Block a user