Posts by Victor • 1,539 points
75 posts
-
0
votes2
answers148
viewsA: Complete fields without user having to give TAB
<script> $(document).ready(function(){ $('#funcionario').keyup(function(){ var query = $(this).val(); if(query != '') { $.ajax({ url:"search.php",…
-
0
votes2
answers79
views -
0
votes1
answer35
viewsA: Conflicting functions when returning array
In order not to conflict, one should do what I already imagined, as I mentioned in the question, so that the bodies of the table did not conflict. So I put an ID on the body of my tables.…
-
0
votes1
answer35
viewsQ: Conflicting functions when returning array
I have two functions that are triggered from the moment the user enters a product code, but they are conflicting, can anyone tell me what to do ? For, within the JSON, in Inspect => Network Tab,…
-
0
votes1
answer57
viewsQ: Functions with same parameter
I have two functions that are triggered from the product code, my functions are used to complete the next fields, but I can’t use Join. The correct one would be to create a part file for the second…
-
0
votes1
answer145
viewsQ: Checkbox inside of While
I am in need of replicating this table from the company’s ERP system to the WEB system. But using the code below the image I have the value of the variables that are 0 and 1. <table…
-
0
votes2
answers178
viewsQ: Complete fields
When selecting the product in the list of suggestions Autocomplete I have to give TAB to complete the next fields, I wanted that as the Description field was filled in the other fields were filled…
-
0
votes2
answers148
viewsQ: Complete fields without user having to give TAB
When selecting the product in the list of suggestions Autocomplete I have to give TAB to complete the next fields, I wanted that as the Description field was filled in the other fields were filled…
-
-1
votes2
answers740
views -
3
votes1
answer84
viewsA: I don’t understand this mistake
Check if you have a file calling the connection to the database, just in case I created a file .php with the name conn.php and you must put the same name so that the code below works properly, or if…
-
0
votes1
answer58
viewsQ: Error in MYSQL PHP JOIN function
My JOIN function is working but I nickname the tables and even so, because the fields are identical my inputs that have the field of the same name are filled even if there is no record relative to…
-
0
votes2
answers38
viewsA: Can anyone help me figure out why the dropdown menu is not working?
As you click on the word Menu appeared the titles, Categories, Type and Exit. and if you click again the data are 'hidden' <ul class="nav navbar-nav side-nav"> <li> <a…
-
0
votes1
answer22
viewsQ: Problem in Modal
I have a table of my modal and I wanted that if the user click both Code and Description insert only the Code in my input, however I am trying and without success, because when clicking on any row…
-
1
votes1
answer2374
viewsA: Displaying a mysql table on the html page
I was going through this problem, but now I managed to solve a few days ago and I will post my code here is a table with data brought from the database, and this way I take only the header of PHP…
-
-1
votes2
answers1347
viewsA: Inserting data using PHP array
Put this in your post method and it will work the Insert and update, at least here in my code worked. save php. <?php include("conn.php"); if(isset($_POST['enviar_tipo'])){ $codigo_produto =…
-
1
votes2
answers927
viewsA: Format CSS table color
Just use this code and your table will have the header different from the body <html> <head> <title>TODO supply a title</title> <meta charset="UTF-8"> <meta…
-
0
votes1
answer1200
viewsQ: Send data without PHP refresh
I have a form with n tables involved and needed to leave all the Insert in one file only, well this I already have. But I need it sent without refresh and for that I am using ajax. Here is the…
-
1
votes1
answer250
viewsQ: Insert ID from one table into another
I’ve seen other posts but they don’t meet my need, I’m making the mistake that only looks for the first person table ID and not what is inside the field, example: I have the ID 6700 inside the input…
-
1
votes1
answer794
viewsQ: Take data from PHP modal window
When clicking on a unit a table is opened inside the modal that from the user’s choice inserts the desired line in the input. But when I click on any row the whole table value is inserted. Someone…
-
3
votes1
answer1077
viewsA: Login with permission levels
login.php <?php session_start(); ?> <!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge">…
-
2
votes1
answer173
viewsQ: How to return values from two distinct php tables
I am a beginner and wanted to create a function that would return me from the name Cpf, user and password of the person in the system. Where the name and Cpf fields belong to the user table and the…
-
2
votes3
answers1512
viewsQ: How to do so, if the record exists, it updates, if it does not do an Insert of the same
I am a beginner in the forum and in php and I have a question. I have a table with id auto_incremento and name is primary key. There is how I do IF and ELSE using UPDATE and INSERT. Where, if there…
-
1
votes1
answer57
viewsQ: Form with automatic save
I am creating a tab form, in which has 3 tabs and each one belongs to a table, I wonder if there is a way to save what was filled in a logo tab where I change to another tab without redirecting the…
-
1
votes4
answers286
viewsA: Put Required in function
Using HTML itself you can validate your expensive form just put REQUIRED in your input field, follow a good link for you to understand and make your life easier, saving time instead of creating…
-
0
votes1
answer2354
viewsQ: PHP - MODAL window
I have tried some scripts but unsuccessfully, I ask for forgiveness if you have in any forum already, but I looked for the modal and nothing supplied my need, there goes: I have a modal inside the…