I want to make an array like the one below:
$database = array(
array(
"key" => "Key1",
"hwid" => "Hwid1"
),
array(
"key" => "Key2",
"hwid" => "Hwid2"
),
);
How would I go about making this by inserting values. Here is what I have tried:
$array = array();
$array[array()["key"]] = "Key1";
$array[array()["hwid"]] = "HWID1";
Sadly the above code does not make the structure of the array that I wanted. How would I achieve this?