Initial import
This commit is contained in:
22
application/controllers/v1/su/Updateallbranch.php
Normal file
22
application/controllers/v1/su/Updateallbranch.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
$servername = "192.168.250.201";
|
||||
$username = "root";
|
||||
$password = "pramita102938";
|
||||
|
||||
// Create connection
|
||||
$conn = new mysqli($servername, $username, $password);
|
||||
$db = mysql_select_db("one");
|
||||
|
||||
// Check connection
|
||||
if ($conn->connect_error) {
|
||||
die("Connection failed: " . $conn->connect_error);
|
||||
}
|
||||
else{
|
||||
echo "Connected successfully";
|
||||
$sql = "SELECT * FROM m_menu";
|
||||
$result=mysql_query($sql,$conn);
|
||||
$row = mysql_fetch_row($result);
|
||||
print_r($row);
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user