$row['id_produk'], 'nama_produk' => $row['nama_produk'], 'harga' => $row['harga_jual'], 'stok' => $row['stok'] ]; } header('Content-Type: application/json'); echo json_encode($produk); exit; } $base_url = "http://localhost"; // Query untuk mendapatkan profil awal $query = mysqli_query($conn, "SELECT * FROM profil WHERE id_usaha = 1"); $profile = mysqli_fetch_assoc($query); ?> <?php echo $profile['nama_usaha']; ?> - Landing Page