<?php

$con = mysqli_connect('localhost', 'unithsen_root', 'K24V=(}+8C}k');

// Check the connection
if (!$con) {
    die("Connection failed: " . mysqli_connect_error());
}

mysqli_select_db($con, 'unithsen_unitcargologistics');

$s = "select * from client_details"; 
$acct = "select * from consignment_details"; 

// Execute queries
$result = mysqli_query($con, $s);
$cd = mysqli_query($con, $acct);

// Check query execution
if (!$result || !$cd) {
    die("Query failed: " . mysqli_error($con));
}

// Now you can use $result and $cd in your code.
?>