All Questions

3
answers

Change date format to a column type date sql server

When I save a date in the format dd-mm-yyyy to a table with a date type field of SQL Server, it is saved as yyyy-mm-dd until there everything is fine, I want to save a date in the mm-dd-yyyy format as they use In the United...
asked on 20.09.2016 / 11:50
2
answers

Form in IOS

I'm doing an app in swift and I need to make a form like this: At the beginning I was doing it with a UITableVIew , but at the time of writing, when the keyboard was displayed, I scrolled and the field was not visible. I ha...
asked on 30.09.2016 / 05:12
2
answers

Avoid double submitting a form

I have a form which I send data through a post but sometimes the server takes time to respond and if you give it again in the save button it duplicates the information as I do so that the save button is disabled when it is already has once click...
asked on 25.06.2018 / 15:44
2
answers

Take the text from a flat file (File.txt) and save it in a string

As the title says I would like help to be able to take the text of "x" file and save it in a string to be able to traverse character by character. thanks in advance     
asked on 27.09.2016 / 20:08
1
answer

Error could not find driver in php 7.2

PHP: <?php //incluimos nuestra conexion include_once("../Modelo/conexion_login.php"); try { //creamos nuestra conexion $dbConn = new PDO('mysqli:host=localhost; login_tm', 'root', '1998'); $dbConn-&...
asked on 25.06.2018 / 19:13
1
answer

Inject EJB into controller

I'm with a JEE application based on Servlets and EJB 3.1. I want to inject the EJBs by annotation. From the Servlet itself I can do it, but if I do it through another class (a Controller) it does not inject it. Let me explain by example: I ha...
asked on 28.06.2018 / 13:08
1
answer

Replace values of an Array from other Arrays in PHP

I need to perform a array that stores values according to a comparison of arrays. Let me explain: I have an ArrayA ArrayA = [1,1,0,2,0]//1 = Activo, 0= neutro, 2=desactivado and other Arrays that can be several. For example: Arr...
asked on 19.06.2018 / 22:05
1
answer

C linux: Simulate shell behavior with pipes

As the title indicates I am trying to perform an exercise to emulate the behavior of the shell in the execution of a sentence with the form comando1 argumento1 | comando2 argumento2 This program opens a pipe and creates a child by callin...
asked on 28.06.2018 / 11:21
1
answer

Stop Morphext animation when you finish the sentences

I'm trying some animations with Morphext and the truth that I liked a lot, for now I want to stop the publication to reach the last word or phrase that is within id="js-rotating" but I could not ... .. I translated the documenta...
asked on 19.06.2018 / 02:13
1
answer

Like statement with parameters

I have the following procedure: create procedure buscar( in producto) begin select nombre from producto where nombre like'%'+producto+'%' end but I get an error in the like try using create procedure buscar( in producto) b...
asked on 27.06.2018 / 10:43