Jump to content

Zorglub

Members
  • Posts

    15
  • Joined

  • Last visited

Community Answers

  1. Zorglub's post in PHP - How to take an image from an array and save it to MYSQL? was marked as the answer   
    I found the solution...
    To make the picture a variable:
    $imgUrl = $vehicle->Pictures[1]; $sql = "INSERT INTO latest (timestamp, vehicleid, img) VALUES ('$dateValue', '$vehicle->VehicleId', '$imgUrl')";  
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.