How to return array with these results in php
points
total 25779
HTML 1793
CSS 2666
Design 216
C# 0
Databases 0
$minhaarray [] = array(
"points"=>$event->total,
"name"=>$category->name,
);
echo...
I have the following code?
if($result = $mysqli->query($query)){
while($row = $result->fetch_array(MYSQLI_ASSOC))
{
$temp[] = $row;
}
}
$result->close();
foreach ($temp as $x) {
$x['seat_number']; //OU...
I am assembling a Javascript Object with the following constructor:
var jsonResult = ""; // Inciei uma variável fora do escopo da Função
function criarDicionario(lang) {
this.lang = lang;
this.dicio = $.getJSON('pt-br.json').done(func...
Good afternoon.
I tried to search here, but I did not find what I needed.
I'm working with JSON, and I have received the following return string:
{
"success": 1,
"return": {
"100025362": {
"pair": "BRL",...
I would like to know how to perform the listing (" foreach ") of my $scope.items array within PHP so that I can work individually with each value entered.
JavaScript:
var app = angular.module('app', []);
app.controller('control...
I'm developing an application in a college project and I'm creating the control part, I will not mess with the server part for now because I do not know much about it.
I am creating functions to generate some Arrays with the items of m...
Hello, I have the following code to deserialize a json:
let urlFinal = URLSERVIDOR+"/Geral/consulta?idcliente=\(id)"
let jsonUrl = urlFinal
let session = NSURLSession.sharedSession()
let shotsUrl = NSURL(string: jsonUrl...
I need to return the data to fill a script,
public JsonResult BuscaImagens()
{
List<Object> resultado = new List<object>();
resultado.Add(new
{
IdImagem = 1,...
I want to check the status of my client to show the establishments near that region.
How do I get this information through the Google Maps Geolocation API?
Is there a better way?
The site I've been working on is PiscouAchou.com
I'm creating a car tracking app and I'm having a problem, I'm trying to make the map update dynamically without the need to update the page manually, this page receives the location through a .json file in the code I'm calling a file, but the in...