Questions tagged as 'php'

2
answers

Pass different values from the same button

Basically I'm changing a screen from where I had 4 inputs and 4 buttons (each input associated with a button for each). In the Onclick event of the button I called a jquery that calls a php to show an image according to the criteria established...
asked by 06.12.2018 / 13:48
2
answers

Query that displays data within a range of dates

I want to display the data in a PDF within a selected date range from datepicker , the PDF is generated and shows the column headers but not the information, it is most likely to be The% co_of% I'm doing. The data that mus...
asked by 12.12.2018 / 17:02
1
answer

How can I load data into some html text fields when the first loses focus?

I have a small conflict with a project that I am working on. It turns out that I need to load the code of a material, and when it loses its focus, it is necessary to perform a search in the database, take the data from the Materials table...
asked by 10.10.2018 / 13:10
2
answers

Store several variables (or an array) in the same field (MySQL) [closed]

Can someone tell me what would be the best option to store the following data? The user (within a form) has the possibility to select multiple checkboxes (19), and I need to store if they are marked or not (all of them) in a single field....
asked by 09.10.2018 / 17:40
2
answers

Add values in columns

I am trying to add the values of each column and add it in the last row, but I do not see that the content is updated. I build the table in the following way: echo "<tr>"; echo"<td data-field='count'></td>"; echo"&...
asked by 26.11.2018 / 22:17
1
answer

I get 500 error when trying to send form HELP!

I am new to this website and I do not know how to solve this error I have when sending the form I leave the code, server errors and other information I hope you can help me. Note: I am using Neubox as a host. Url: link HTML: <form...
asked by 24.10.2018 / 04:41
3
answers

$ _GET id does not work for me

I have the following code in php $sql = "SELECT * FROM categorias WHERE categoria_id='{$_GET['id']}'"; $resultado = mysqli_query($con, $sql); if (mysqli_num_rows($resultado) > 0) { while ($row = mysqli_fetch_assoc($resultado)) { //......
asked by 09.08.2016 / 12:35
2
answers

how to search in php table with jquery

Good, I'm trying to perform a search on a php table. This is the code with which I show my table: <div class="form-group"> <label for="search">Buscar:</label> <div class="input-group col-sm...
asked by 21.06.2016 / 16:46
1
answer

SyntaxError: JSON.parse in $ (document) .ready ();

this error had already been given to me before and it was corrected, in this case now if I select an element of a select I must make a $ _POST so that it loads me what is related to that select that in this case would be a sub category the code...
asked by 30.08.2018 / 09:06
1
answer

Problem showing values in an alert with variable in PHP

What I want is to show the content of my variable $serie alert(<?php echo $serie; ?>); What happens is that when the value of $serie = '003' if my alert works but if the value is 'FF01' no longer resolves it, appa...
asked by 05.09.2018 / 19:03