All Questions

3
answers

how can I increase the degrade android

I want to increase the degrade so that the target is closer to the middle, how can I do it? <item> <shape> <gradient android:angle="0" android:endColor="#E8E8E8" android:st...
asked on 06.06.2018 / 14:58
1
answer

in PHP get the 25th day of the previous month

Month I would like to be able to select in my query the 25th day of the month before the present, regardless of whether we are at 2 or 27 in the current month, for example something like: Today's day 07/27/2018 <?=$date; ?> Result o...
asked on 27.07.2018 / 23:55
2
answers

Error executing prepared query

$user = $_COOKIE['c_username']; $filter = filter_var($_POST['buscar_inventario'], FILTER_SANITIZE_STRING); $query = "SELECT Inv_Id, Inv_Ref, Inv_Name,...
asked on 26.09.2017 / 10:47
4
answers

Show the first element of an array

I have a problem with an 'array, it has the following format: $array = [{"id": 1,"nombre": "Disco Duro"}]; I currently consume it in the following way $array[0] accessing the position of the array but what I try is to use the $arr...
asked on 05.08.2018 / 03:38
2
answers

Return data from a php server using AJAX

Greetings, I am doing a simple test, it is about sending a data through AJAX to PHP so that I can return a data, but I do not know why it does not return any data. The JavaScript code is as follows: $(document).ready(function(){ $("#l...
asked on 19.09.2017 / 01:13
2
answers

Calculate tree height oriented C ++

I have a tree class to represent oriented trees (No binaries). The nodes are represented by a cell, which has the method lchild () that gives us the most left and right () son or simply increasing (as in list) to get his brother who follows him....
asked on 11.10.2017 / 16:18
1
answer

List Order

My query is as follows: I have a list of objects where each one receives a latitude and longitude. Using a CustomAdapter I show the objects and with a method I calculate the distance between my position and that of the list to show how many kilo...
asked on 23.11.2017 / 14:06
2
answers

When in CSS3 it is essential to use own tags of each browser -moz-, -webkit-, -ms-, -o-?

I understand that there are CSS functions, such as gradient that are not supported in some of the older browsers. I have come across this example: #grad { background: red; /* Para navegadores que no soportan Gradient */ backgrou...
asked on 08.11.2017 / 15:15
3
answers

Convert VARCHAR to DATE in a SELECT

I have a table whose record has a date, but this date is saved as VARCHAR , I was told that I could convert it to DATE in SELECT . This is what I have: SELECT * FROM tabla WHERE CONVERT (date(15), fecha, 103) = '1/01/2017';...
asked on 15.11.2017 / 16:22
2
answers

Match a letter at the beginning of the string

I made the following code: import java.util.regex.Matcher; import java.util.regex.Pattern; import java.lang.Math; // headers MUST be above the first class // one class needs to have a main() method public class HelloWorld { // argum...
asked on 12.05.2017 / 22:45