Hi, i have a script which displays project information and it stores the clients ‘id’ rather than the name, how can I display this is a table format? At the moment I can only get the client_id to display. I have a database called ‘customers’ which stores the nicename etc
$query = "SELECT * FROM `projects` ORDER BY `id` DESC";
$result = mysqli_query($con, $query) or trigger_error("Query Failed! SQL: $query - Error: ". mysqli_error($db), E_USER_ERROR);
if($result) {
while($row = mysqli_fetch_assoc($result)) {
echo ‘
echo ‘
echo ‘
echo ‘