Posts by Fernando Gross • 115 points
13 posts
-
0
votes2
answers532
viewsQ: Concatenate variable with id fetched by Javascript
Hello! I have a code for autocomplete here that’s giving me a bit of a headache. My code consists of a foreach that generates a line to each record found, to each line generates a button that calls…
-
2
votes1
answer967
viewsQ: Notice: Undefined offset searching inside array com for
Hello! My code is a schedule and works as follows, there is an array with some times inside: $horarios = ["08:00", "09:00", "10:00", "11:00", "12:00", "13:00", "14:00", "15:00", "16:00", "17:00"]; I…
-
1
votes1
answer117
viewsQ: Buttons generated by foreach only execute ajax in the order they are displayed
Hello! I am using an ajax on a button so that when I click on it this submits a form, the button then changes from VALIDATE to VALIDATED, all without reloading the page. Here’s the code:…
-
2
votes1
answer573
viewsQ: Counter to insert blank line every 5 equal cells
Hello, I’m trying to make a macro for a button, which puts a blank line every 5 cells with equal content, but I’m quite layy in VB syntax and I’m not sure if the logic is correct either, example of…
-
0
votes1
answer95
viewsQ: Difficulties picking up values within an array
I’m making a code where I select database information and feed an array, then I’m trying to use the contents of that array to compare with other information and process the rest of the code. But I’m…
-
0
votes1
answer145
viewsA: PHP Show the time you clicked the button and by whom it was clicked
Pretty quiet, assuming you know the code, which is simple, I’ll just give you the logic. 1- Make a small form, where the employee enters with the registration ($license plate) and gives Submit…
phpanswered Fernando Gross 115 -
0
votes3
answers404
viewsA: SQL query does not return value
Try the following on: $sql = mysql_query("SELECT * FROM users ORDER BY idS DESC") or die(mysql_error()); while($row = mysql_fetch_array($sql)){ print_r ($row); } With this we are asking to print the…
-
2
votes2
answers46
viewsA: Show member with id same column
LIKE '%$newid%' The % indicates in which position you are looking for the result, when you use %$newid% tells us that you are looking for the value of the variable at any position in the column.…
-
0
votes1
answer306
viewsQ: Ajax update only on selected line
I have a Datatable here and I’m using a plugin so that the user can edit the table data, got in parts(haha), the problem is that my call is not identifying what the user enters, and when I manually…
-
2
votes1
answer519
viewsQ: How to check data after form Ubmit and return result in selected Div?
I’ve got two little problems I’m bumping my head on, let’s go to the first one: 1- I have the code below just after my Submit to check that the data has all been filled in: <?php $data_coleta =…
-
0
votes1
answer76
viewsQ: Form opening blank JS popup
I need to return the result of a form submission in a popup (I tried lightbox but I penetrated to be able to use, would be better, recommendations?) in the center of the user screen, the only…
javascriptasked Fernando Gross 115 -
0
votes0
answers366
viewsQ: PHP form data does not enter the database
Hello, I’m new in PHP and I’m doing a small scheduling page but I stuck in the input part of the data inside the database, below my codes: Index.php <html> <head> <title> Controle…
-
1
votes1
answer763
viewsQ: Convert date format to php echo
Good afternoon, My database is saving dates in the following format "2017-04-19", I do not know if it has to change the data already registered in it and the way the data will be saved, so I chose…