All Questions

1
answer

Upload multiple photos using a PHP and MYSQL array It does not work

I am trying to upload some pictures through PHP and MYSQL, I am sending by means of a for the images from a form, to receive them is where I imagine my error is, any help I appreciate it. <div class="modal fade" id="addphoto_<?php ec...
asked on 30.07.2018 / 16:09
1
answer

What does it really serve .indexOn in firebase

For some time now, I have been using firebase , however, the purpose of the rule .indexOn is not clear to me. This streamlines searches on secondary data or something like that?. for example: If I have a database with the foll...
asked on 24.08.2018 / 21:48
1
answer

How do I double click on some html element and that I'm directed to a new page with javascript?

This helps me but what interests me is linking to a page in this case a form, but I would like to know how it can be done in javascript within the dblClick function <script type="text/javascript"> $(document).ready(function(){ $...
asked on 07.08.2018 / 05:06
1
answer

grayscale enhancement - artificial vision

a. Write a function that allows you to highlight a specific range of grays in an image. The function must receive as input parameters: a grayscale image (uint8), parameter A and B that defines the range of values that the function will highlight...
asked on 27.08.2018 / 16:18
1
answer

How to automate the file name in bat file

The following code opens a db file (sqlite language) and exports the resulting query to a file on my desktop. Up here all good. What I want is for the file name to be different every time the batch is executed. sqlite3 -cmd ".headers on" -cmd...
asked on 30.08.2018 / 15:43
1
answer

How would you erase a line ex: "position 6" in a .txt file or in a String string?

Try several ways but I can not do it. One of them would be this and I get an error: try { java.io.BufferedWriter bufferedWriter = new BufferedWriter(new FileWriter("Archivo.txt")); bufferedWriter.append("Esto es la linea 1");...
asked on 28.08.2018 / 22:37
2
answers

How to show all the contents of a Mysql table in PHP?

I want to make people with the reader role, only see the contents of their rows, but the administrator sees everything, I'm using this code but I do not understand why it does not work. I do not see where the error is here in the logic, because...
asked on 30.08.2018 / 14:14
1
answer

Problem with ubuntu server

is the first time I set up a server with ubuntu, in the I have two applications in php with two different frameworks, one has the main domain and the other with a subdomain, one of those applications the subdomain must take data via post of the...
asked on 30.08.2018 / 14:46
1
answer

Error in sql query

I have the following table and I want to make a record of certain values from php but when I try to enter it tells me that there is an error when inserting the data and I have the following code to enter that data to the base <?php if...
asked on 17.07.2018 / 10:54
3
answers

Show checkbox already marked with jquey according to a MySQL database record

I have a fullcalendar and clicking on some day will show me a form, the user enters the normal data and must select some people assigned to that event with a checkbox. ( There everything is fine ). Calendar image with events already created...
asked on 29.08.2018 / 12:54