<?php
include "db.php";

// Example insert
$sql = "INSERT INTO customers (name, contact, email, address, business_name, opening_balance)
        VALUES ('Ali Khan', '03001234567', 'ali@example.com', 'Lahore', 'Ali Traders', 5000)";

if (mysqli_query($conn, $sql)) {
    echo "Customer added successfully!";
} else {
    echo "Error: " . mysqli_error($conn);
}
?>
