All Questions

4
answers

How can I get the latest registration by date and time

I would like to obtain the last value registered in a table, there are two columns in my table DATE and TIME. How can I consult the database so that I can return, for example, the data '8' of the value column?    Structure of my table id_l...
asked on 26.09.2018 / 00:13
2
answers

Difference between query () and execute () [duplicate]

It really is the same: $base->query("DELETE FROM EJ_TABLA WHERE ID='$Id'"); What to do this: $base->prepare("DELETE FROM EJ_TABLA WHERE ID='$Id'")->execute(); ?     
asked on 21.08.2018 / 12:26
3
answers

determine the position of a character in a string

hello my question is how can I determine the position of the question mark in this string * and then separate it with the function substr() string = [Catálogo en línea?http://ur_prueba/index.jsp ]     
asked on 26.09.2018 / 20:31
1
answer

How to get Chrome to recognize font-family: Arial without sarifa? (serif)

I have tried in different ways to get my CSS: .texto--big{ font-size: 40px; font-style: arial; } .texto--small{ font-size: 25px; font-style: arial; } Return the Arial font, without serif, in the Google Chro...
asked on 25.09.2018 / 14:44
1
answer

Connect server DB to desktop application in C #

I just finished my application which I developed in C # using windows forms, it is a desktop application, which works with a local database. The application will be installed in clothing stores outside the company. My question is: How can I c...
asked on 29.08.2018 / 23:53
1
answer

Regex for split () in javascript

I'm trying to make a pattern that separates a text if it finds one of the following characters: +, -, x, /,. I tried with the following code but it does not work, could someone help me? var texto = "Hol+A q-ue txal e/st.as"; var separa...
asked on 25.10.2018 / 11:06
2
answers

Is there any way to deny something like isinstance () in Python?

To make my question clearer, I give an example in code R which is the language in which I have a little more experience. Suppose I have the simple variable "a" that is worth 5. First of all I want to validate if it is numeric using is.num...
asked on 16.11.2018 / 19:50
3
answers

How to get the last character or letter of a string

I'm trying to get the last number after the last dash that is the last rallite - of a string like this Profesores-de-Barahona-demandan-calidad-del-almuerzo-escolar-y-mejorar-plantas-fsicas-3 This string comes from a URL which the...
asked on 25.11.2018 / 15:51
2
answers

Exceptions c ++ POO

I must create a program with the triangle class and then create a class with the following exceptions: An error message is issued if one of the sides has a value of zero. An error message is issued (at its own decision) if one of the sides...
asked on 07.11.2018 / 14:33
1
answer

Error in program: undeclared here (not in a function)

I am trying to run this program in C but it generates an error. Does anyone know what I'm doing wrong? #include<stdio.h> #include<stdlib.h> #include<math.h> #define N 1 int vector[N]; int vector_frecuencias[N][2]; int num_di...
asked on 07.05.2018 / 13:28