Jump to content

TwinkiBro

New Members
  • Posts

    1
  • Joined

  • Last visited

TwinkiBro's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Alright so Im not sure what Im doing wrong here, but Its not giving me any errors or such but its not inserting anything into the SQL either with this query. function insertVehicle($vehicleid, $color1, $color2, $posX, $posY, $posZ, $vw, $int) { global $handler; $query = "INSERT INTO vehicles (VehID, Color1, Color2, PosX, PosY, PosZ, VW, INT) VALUES ($vehicleid, $color1, $color2, $posX, $posY, $posZ, $vw, $int)"; mysqli_query($handler, $query); } Function usage insertVehicle(411, 255, 255, 0.00, 0.00,0.00, 12, 10); SQL structure https://postimg.org/image/qysshlrh3/
×
×
  • 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.