All Questions

3
answers

Use LIKE or LTRIM - SQL

I am working with oracle and C # in Visual Studio 2015 and I have this query "SELECT * FROM TCTERCEROS WHERE TR_TERCERO = '" + TBNit.Text + "'" As I can apply a LIKE or LTRIM, TBNit.Text is what is said in the text box to see for example 12...
asked on 10.08.2018 / 13:35
2
answers

I DO NOT GET ANY MYSQL REGISTER IN PHP

I've been working with php for some time and trying to make the MYSQL code work inside PHP, I'm working with PDO but at the moment I want to get the records from my database and put the print_r ($ variable); shows me an empty array. <?php...
asked on 09.08.2018 / 18:07
1
answer

Change the width of the bars in google chart

Currently I have the following code where I make the comparison of two data and I graph them in a bar graph, the problem is that the width of the bar is very thick and I want to reduce it, if I enter more data in said graph the width of the bar...
asked on 09.08.2018 / 12:35
1
answer

MYSQL query does not result

I have the following mysql query. SELECT (CASE WHEN s.id='1' THEN r.nombre ELSE 0 END) as sucursal1, (CASE WHEN s.id='2' THEN r.nombre ELSE 0 END) as sucursal2 FROM repuestos r INNER JOIN sucursales s on s.id = r.idsucursal WHERE r.codigo_ven...
asked on 05.08.2018 / 23:05
1
answer

Failed to display data list in Java

In the following method: generateFile (String filename, String country) Generate a text file that contains the list of offices in the last country as the second parameter. The file must have the last name as the first parameter. The fiel...
asked on 09.08.2018 / 20:41
3
answers

How did a json go to a dictionary?

Good afternoon dear stackoverflow friends I have this code in which I get from an api to get bitcoin results in real time I have two questions: How can I make that json save instead of a list to a dictionary with the name values and their v...
asked on 09.08.2018 / 01:08
1
answer

The text comes out of the tag in html-css

I need to enter text in a <div> that is the white border box and this is within a <span> . . But when I do, the text goes to the bottom of the page, I already tried to use several properties to align text, float,...
asked on 08.08.2018 / 23:16
1
answer

Update record comparing different columns

What I'm trying to do is generate an SQL statement that finds me the rows that have repeated data, and at the same time in different columns. My table is something like this: ID FECHA UNO DOS TRES ESTADO -- ---------- --- --- -...
asked on 19.02.2018 / 02:57
2
answers

Error sending mail with PHPMailer

Good morning everyone. I am presented with the following error:    Uncaught Error: Call to a member function isSMTP () When I try to send an automatic email. I have reviewed in many forums and I have not been able to find the problem,...
asked on 09.08.2018 / 15:26
2
answers

Encode image in base64

Good morning. I have an image in a server folder that I want to encode in base64 to be able to insert it in a pdf with the jsPdf plugin. I have tried to insert the image in a canvas but when I code it is encoded correctly but clearly, it e...
asked on 07.02.2018 / 06:06