All Questions

3
answers

Choose the photograph in a form with selects

I want to make a form that through selects, you can choose one of the three images available. I'm starting on this and I would like someone to tell me why my little program does not work. In console appears // Uncaught ReferenceError: var img...
asked on 17.04.2018 / 16:50
1
answer

Read reply json at Axios Laravel Vue

I have a method that captures the information sent by the vue view (Profile.vue) through a PUT generated by Axios, the problem lies in the following, when the data is updated (using the myProfile method of the UserController driver), axios it ca...
asked on 14.04.2018 / 18:46
1
answer

Replace values from a list in an array in Python

My problem is this, I want to replace a list of questions in the first row of a square null matrix leaving the first zero, that is, if the matrix is m rows by n columns, I would like to insert the list of questions to from the value [m, n] = [0,...
asked on 19.05.2018 / 04:15
1
answer

How to export to Excel with php and Sql Server 2008

I want to generate an excel report of my markup query. but I could not. I get the following error in the excel. <b>Fatal error</b>: Class 'Conexion' not found in <b>C:\xampp\htdocs\intragarzon2.0\formatosTH\marcaje\core\b...
asked on 17.05.2018 / 12:10
1
answer

How to know the status of my connection?

I have searched and I have not found anything that tells me how to tell the user that he has connected to a network. I know it's something with Broadcast Reciever but I do not know what I have to do. I made one that works for me but it's to list...
asked on 21.05.2018 / 16:52
1
answer

Write to file using hash function and cubes

I'm doing a function that reads a series of elements from a binary file and I have to pass them to another file that organizes them into cubes using the hash dispersion method. Here's the function: int creaHash(char *fichEntrada,char *fichHash...
asked on 23.05.2018 / 21:45
1
answer

UPDATE does not execute anything in PHP

On the page when the user gives you to save changes in the form: echo"<form id='contact' action='actualizar.php' method='post' name='actualizar'>"; echo "<fieldset>"; echo " Nombre:<span class='obligatorio'>...
asked on 23.04.2018 / 19:36
2
answers

Redirect to another url depending on the referer

I have this code in the index.php of a domain: <?php if (isset($_POST["redirect"])) { $hash = $_POST["redirect"]; if ($hash !== "") { $origen = isset($_SERVER['HTTP_REFERER']) ? $_...
asked on 18.05.2018 / 21:56
1
answer

Using regex in Twitterrific, how do I mute all the tweets of a user that do not contain a link?

Of a user I am only interested in tweets that contain links, as they are articles or news, but not tweets with personal opinions or comments. Using regex I already have several rules, but I do not know how to "just pass tweets that contain a url...
asked on 22.04.2018 / 07:11
2
answers

Select and format a Text from a Tkinter Text

Inside a Tkinter Text widget, in Python, I'm uploading a document. After analyzing the content and locating certain words of it, I must select them to give them a certain format, specifically, give them a background color and put them in bold....
asked on 21.05.2018 / 05:44