Forum Moderators: coopster
$sql = " SELECT oilchange FROM vehicledata"; We select the json column from the table or do we do each individual field?
$result = mysqli_query($ms, $sql);
if(mysqli_num_rows($result)>0)
{
while($row =mysqli_fetch_assoc($result))
{
echo " ID:".$row['ID'] . "|Service Date:".$row['ServiceDate']. "|Service Location:".$row['ServiceLocation']. "|Labor:".$row['Labor']. "|Mileage:".$row['Mileage']. "|Oil Brand:".$row['OilBrand']. "|Oil Price:".$row['OilPrice']. "|Filter Brand:".$row['FilterBrand']. "|Filter Price:".$row['FilterPrice']. "|Purchase Place:".$row['PurchaseLocation'],";"; This is where I'm having the most problems. The ; and the | are delimiters so I can put the data into a usable format.
}
What am I missing?
Thanks!
}