Questions tagged as 'php'

6
answers

How to save selected and unselected checkboxes

I put them a bit in context, I'm doing an academic attendance record system, and I plan to keep the id of the students in a table along with a value that tells me whether or not they attended classes so that after this a percentage of the absenc...
asked by 19.09.2018 / 23:54
0
answers

Problems with equivalence of Measurement Units Products

I am developing a warehouse system and I have a problem that I do not know how to solve it. I have a customer who buys their supplier for Triangle chocolate boxes, each box has 24 display, and each display contains 22 units. My client can sell b...
asked by 19.09.2018 / 02:49
1
answer

Laravel - Error: SSL certificate problem: unable to get local issuer certificate

I'm starting to learn laravel and when I try to install homestead via git, I get this error: I already have several days without being able to solve it, I already tried to enter the link provided by the console and it has not helped me...
asked by 19.09.2018 / 02:58
1
answer

How to validate php record that does not repeat? [duplicate]

Good morning: I am creating a file in php that connects to a localhost, what I need is to make it validate in the localhost that there are no duplicate records, the validation I have to do with the rfc (Mexican) since it is a unique value. I r...
asked by 19.09.2018 / 04:01
3
answers

When sending form by Ajax I recharged the page

my problem is that I have a page with several form to which I intend to make ajax requests so that it does not recharge the page, but I recharged it and I do not know what the reason is, I have investigated and tried in several ways, but...
asked by 25.09.2018 / 01:48
0
answers

Display data of an ID from a foreign table

In this second opportunity I consulted a problem that I have when wanting to show specific data of a foreign chart for an ID. Waving more in detail, my web application is a database of entry of detainees (in Table 1 register the personal and...
asked by 25.09.2018 / 00:48
1
answer

Error 500 without finding cause

How are you? I am currently finishing a project where everything at first is seen to have no problem. The page is as follows.    link However, in the Google search console and when I inspect it in Chrome in the "Network" tab, I get a...
asked by 24.09.2018 / 22:13
0
answers

JQuery identifier value to PHP variable

Good morning friends. I have the following code js in which I extract data from the database through ajax, and I get my data to my form through its id attribute. $(".btnEditarTicket").click(function(){ var idTicket = $(this).attr("idT...
asked by 18.09.2018 / 21:45
0
answers

How to implement a confirmation before executing an UPDATE

I have the following code: //APROBAR PAGOS MENSUALIDAD function aprobar_pago_mes() { global $db; $idusuario = ($_GET['id']); $sql = "UPDATE pagos SET status_pago = 'APROBADO' WHERE id = '$idusuario'";...
asked by 18.09.2018 / 19:36
0
answers

problem when downloading a report in excel

When I download a php form there certain records that come out "run" instead of appearing the name in the field name appears in the field field and that causes all the records to be run. I leave the continuation code: <?php /*******EDIT LIN...
asked by 03.10.2018 / 15:22