All Questions

1
answer

Obtain if there is data in a nested object inside a json

I run into a problem, I have a list of items in a json. and before filling out a list, I want to check if there is a PROMOS sector in the json. Try this way but it only brings me the first 5 articles and nothing from the PROMOS sector my java...
asked on 19.10.2018 / 13:55
1
answer

Update a field in the database

I have the following table in informix: CREATE TABLE eh_user ( user_key serial NOT NULL, borrado boolean DEFAULT f NOT NULL, fecha_alta datetime DEFAULT current NOT NULL, propietario varchar, fecha_modificacion datetime,...
asked on 05.10.2018 / 09:38
1
answer

Save Javascript variable in PHP

I have a variable in JavaScript that I can send to value of a form in html. The input where the variable is loaded is like hidden because I do not want it to display the value on the screen. The form only has that input...
asked on 22.10.2018 / 18:20
1
answer

Wordpress shortcodes do not render

I am developing a theme and I am applying shortcodes , but in the pages and in the entries, it shows me the literal text instead of what the shortcode returns. I'm using the code that comes out in the API. //[foobar] function f...
asked on 12.10.2018 / 23:05
2
answers

Cousins and multiplication tables

I can not get this code going. It is about listing the prime and non-prime numbers defined in a range by showing the multiplication table of those that are prime. Let's see if someone clarifies how to define the code. <?php for($i=3;$i<...
asked on 07.10.2018 / 16:08
1
answer

Use data from the Vue instance in the Vue Router template

How to use data from the Vue instance in the templates of Vue Router routes. This is my code HTML <div id="app"> <router-link to="/foo/1">ruta 1</router-link> <router-link to="/foo/2">ruta 2</r...
asked on 19.08.2018 / 04:02
2
answers

arrays with if php

Well I am something new and I do not have much exp the following thing in an arrangement of 3 numbers to know which is the biggest, the smallest or if they are equal I have it this way I do not know if it will be correct or open a better clarifi...
asked on 06.10.2018 / 05:20
1
answer

JsonConvert.DeserializeObject returns some values in NULL

I'm working with a file in JSON that comes with a specific structure, which at the time of doing the deserialization process returns some of the values in null. The source file that I am processing is the following: { "t":"i", "v": [ {...
asked on 22.08.2018 / 17:10
3
answers

POO Python: 1 positional argument but 2 were given

I do an exercise in Python the intention is to move around a 5x5 space but I have an error in the simulation of a switch that they think is: class Robot(): def __init__(self, x, y): self.x = x self.y = y switcher...
asked on 28.08.2018 / 17:39
1
answer

Script in object c #

Good I am doing a POST request in C # and I receive the following answer: "resp": { "clave": "50623081800310267146900100001010000000135127983503", "fecha": "2018-08-31T18:05:54-06:00", "ind-estado": "aceptado",...
asked on 01.09.2018 / 02:09