All Questions

1
answer

Difference in Codeigniter

I am working with the Api rest service in Codeigniter, my query is: I have a json that returns all the students of the mini system1, in the mini system 2 I have a table called Assign where I keep the id of the student and other data, my probl...
asked on 04.09.2018 / 00:23
1
answer

MYSQL - Error 1148. The used command is not allowed with this MSQL Version

Trying to load data into a table gives me this error.    Error Code 1148: The used command is not allowed with this MySQL version The function I use is:    load local data infile 'C: \ Users \ xSyn \ File.csv' I've been searching t...
asked on 30.09.2018 / 20:59
1
answer

Segmentation fault in rot13 code (C)

#include <stdio.h> #include <string.h> char rot13(char palabra[]) { //char *palabra int y = (short) strlen(palabra); char abc[27]="abcdefghijklmnopqrstuvwxyz"; for (int i = 0; i < y ; ++i) { if(palabra[i]<'m'...
asked on 05.10.2018 / 23:23
1
answer

Pivot table with 3 models in laravel

I have 3 tables: Draw, player and round, and in turn a table in common for the three having as attributes: id, id_draw, player_id, id_ronda. What I do not know, is how to put together this type of relationship and how to insert data. Since in...
asked on 04.11.2016 / 03:42
1
answer

Problem with pandas.DataFrame.shift function

I have the following dataframe in python: months = [1,2,3,4,5,6,7,8,9,10,11,12] data1 = [100,200,300,400,500,600,700,800,900,1000,1100,1200] df = pd.DataFrame({ 'month' : months, 'd1' : data1,...
asked on 27.09.2018 / 01:18
1
answer

Position objects in HTML and CSS

I need to create a page for a job at school, and I need to put the credits at the end of the page, I'm only allowed to do it with html or css in the notebook. At the moment this is my homepage. ul { list-style-type: none; ma...
asked on 22.09.2018 / 05:10
1
answer

Help with PL / SQL insert in Oracle

What happens is that I am trying to do a search in two tables and through cursors with parameters do the calculation of a tax and insert the data in a new table called taxes. I have three tables, AUTOMOVIL , AVALUOS e IMPUESTOS...
asked on 04.10.2018 / 16:48
1
answer

Consult twice the same table

I have the holiday table which has two fields, one that is authorize_id and request_id, makes references to the same employee table, I can already show the name of the one who authorizes by means of the id, but I do not know how to show the name...
asked on 28.08.2018 / 19:45
2
answers

How to show a div when loading the page

I currently have a hidden div <div id="llave" style="display: none"> //aca esta el contenido </div> but what I'm looking for is that when I finish loading the page it shows up. I was trying like this: <script type="...
asked on 27.08.2018 / 19:59
2
answers

Error saving data in a struct

This is how I declare my struct, but at the time of saving it saves twice the data int semaforo; . struct mystruct { char arr[MAXBUF]; }es; struct mystruct *entrada; char g[20]={"11111111111111111118"}; So I save it and print it...
asked on 11.11.2016 / 03:12