All Questions

2
answers

How to attach files on android to send by email?

Good evening, it turns out that I have my application in which I generate a pdf, then want to send an email and attach the pdf file, the pdf file generates it well, but I do not know how to attach the file. Thanks in advance.     
asked on 27.10.2016 / 10:53
3
answers

sql query to delete from two tables at a time, SQL Server

I have two related tables, Ad_TypeConsulta and Ad_consulta, a type of query has several queries, I look for the sql script to eliminate both the type and the queries that belong to that type. DELETE Ad_TipoConsulta, Ad_Consultas FROM Ad_TipoCo...
asked on 28.04.2016 / 22:13
3
answers

Obtain client IP from PHP

How can I get the client's actual IP address from PHP if possible. This means that there is a direct connection, or by means of a proxy , or router or whatever, I always identify the IP real of the client computer....
asked on 04.05.2017 / 15:14
2
answers

Doubt about the "return" statement in recursion - C

I am studying the subject of recursion and I have two doubts that consist of the following: 1 .- I have seen that normally when calling a function within itself it is done through return , something like the following: return fibonacci(n...
asked on 07.04.2017 / 03:05
2
answers

Place image as pointer

Good, I've been changing the pointer for other styles like "wait", "crooshair", etc. However I am unable to change the cursor for any image I have on the pc. HTML <html> <head> <script src="DH18.js"></script> <l...
asked on 11.08.2017 / 13:23
3
answers

Get the value of an element "a" from jQuery

HTML: <a onclick="funcion(this)" value="4">Un Nombre</a> JAVASCRIPT: <script> function(elemento){ console.log(elemento.value); } </script> this is giving me back    undefined     
asked on 04.08.2016 / 04:51
4
answers

How to hide columns of a datatable in case it shows for mobile with boostrap?

For example I have a datatable of 5 columns, which are all with the definition of col-lg, but when I want to try or see it on a cell phone (col-xs), I would like it to hide the last three columns. How could you do that? Could someone show you...
asked on 07.03.2017 / 15:24
3
answers

Get system date

I am doing a program in #C for the university and I need to get the current system date to know when the person has registered. So far to catch the date I have this: time_t tiempo = time(NULL);//variables donde guardo el valor de la funcion...
asked on 11.04.2017 / 12:49
6
answers

Read characters from a text string before a space with Javascript

I need to do the following, and I can not find a suitable way to do it ... This is the code of a function, which puts two tabulations (two spaces with \ t) when finding the first space inside the variable 'customText'. function generatePage...
asked on 28.06.2016 / 10:48
2
answers

Python convert a string in CamelCase to separated by dashes

Hi, I'm needing to convert a string in CamelCase to separate scripts, I've been trying a bit of regular expressions but I can not get any part of it, the idea is to enter a string in CamelCase: Entry: 'HolaMundoCruel' Exit: 'hola-mundo...
asked on 08.04.2017 / 16:29