I want to use this array
while($row = mysqli_fetch_array($result)) {
$outlet_name[] = $row['outlet_name'];
}
into a variable like this
var availableTags = [
"ActionScript",
"AppleScript",
"Asp",
"BASIC",
"C",
"C++",
"Clojure",
"COBOL"
];
I'm not sure of how to best do that? I'm new to all of this so if you please give me some help I'm very appreciate