Posts by Fabio Henrique • 2,156 points
146 posts
-
-2
votes1
answer20
viewsQ: How to Pass Variable inside the function
In this "Laravel PHP" email sending script I loop for multiple sending. The problem is that I’m not finding the solution to pass the variables "$email" of posts to within the function "Function($m)"…
-
1
votes3
answers59
viewsQ: Repeat fields according to dropdown number
As I don’t know much about javascript I would like a help of how to do that when choosing a number in the dropdown, I repeated the fields by the chosen value <select id="valores5" class="valores1…
-
0
votes1
answer843
viewsQ: VS code Do not autocomplete html or css tags on a Blade
I am using Vs code to edit HTM,CSS,PHP. code when I edit code with extension . html and type the html or css tags, it autocompletes showing the command options normally. When this code is performed…
visual-studio-codeasked Fabio Henrique 2,156 -
-1
votes1
answer71
viewsQ: IMAP does not show sender email
I’m making a code to read emails through IMAP, only I’m finding a problem to show the sender’s email. instead of showing the email it is showing the name. already tried other functions but also did…
-
1
votes1
answer264
viewsQ: Isset in PHP ternary?
I have the following examples of condition in ternario, in the first example it works correctly, it returns me the data and if it is empty returns null, however in the second example I think would…
phpasked Fabio Henrique 2,156 -
-2
votes2
answers76
viewsQ: Add name to json Key
In this my code below it returns me json with the key "services:" however I am not able to put a name "Flight:" in the second key. how can I make this key named $final['servicos'] = [];…
-
-1
votes1
answer25
viewsQ: Dropdown Relating Another in Loop
This script does this: when we click on the first dropdown it opens a second dropdown. Okay, so far it works perfectly. But my problem is that when I put it inside a loop it stops working. So each…
-
0
votes1
answer22
viewsQ: Handling data Websevice json
When running a url returns me the data below. I’m trying to treat it more I don’t know how to do it because the first time I work with json and the variables are empty what I’m doing wrong already…
-
1
votes1
answer499
viewsQ: Progressive Chronometer Updating div
I would like to know how to make a progressive stopwatch, visible on the screen and every 60 seconds update a div that the code searched for another PHP file. If possible, I would like hour minutes…
phpasked Fabio Henrique 2,156 -
-1
votes1
answer52
viewsQ: Create Counter by incrementing a separate Digit every 60 seconds
As I don’t have much knowledge of javascript I would like a little help on how to do this script down. This script would be a counter where every 60 seconds points add up and that counter starts…
javascriptasked Fabio Henrique 2,156 -
0
votes3
answers37
viewsQ: Add values after a separator
Since I don’t know much about javascript I would like a little help to solve this problem of mine In this script below I have to do the calculation taking only the last digits separated by the…
javascriptasked Fabio Henrique 2,156 -
1
votes1
answer58
viewsQ: Auto complete input text with radio button
As I don’t know much about javascript I need a help to make this script bottom work What I need is that when selecting a RADIO it autocompletes the input text with the value contained in the…
-
0
votes0
answers34
viewsQ: Listing does not complete all lines
I have a problem when it comes to making a list. There are hours that normal list and there are hours that does not show all lines In this image above shows 7 lines more would have to show 15. the…
-
-1
votes1
answer71
viewsQ: How to Generate Summation in loop fields
As I have no knowledge of javascript need a help how I can do, this my script below perform the sum of the items of the fields "value" of each row in loop In the case the "Total" field would…
-
0
votes1
answer93
viewsQ: Make Script work in loop
As I’m not familiar with javascript I need a help on how to make this script work in the loop. His problem is that auto complete only works in the first line. if we add another line it no longer…
-
0
votes1
answer154
viewsQ: How to Dropdown Autocomplete Field in Loop
Como não tenho muito conhecimento de javascript I need a help in this my problem here... In this and precise form that when choosing an item in the dropdown it fills the field beside with the value…
-
0
votes1
answer16
viewsQ: How to Check numbers contained in a query in a field
How to Check if an id is contained in a range of ids within a field in the database In this table below I list the "id_rota" it returns me Ids separated by comma 16,17,18,19..... $numero =…
phpasked Fabio Henrique 2,156 -
-3
votes1
answer195
viewsQ: Concatenate WHILE
How can I concatenate a while to put into an array. How to make this part of code work? $nestedData[] = $row["nomerota"]; $tr="<select size='1'>"; $tr.= while ($row =…
phpasked Fabio Henrique 2,156 -
1
votes2
answers137
viewsQ: Prioritize line in sql queries
In a Results with 2 fields exactly equal, how to do that only show rows that the priority column is marked as 1 id | origem | destino | daia_inicio | data_fim | valor | prioridade 01 | Galeão |…
-
0
votes1
answer33
viewsQ: Read array from a field
in an sql query, it returns me this value 10,30,40,50 of the fields" mark_ups_range" How to read and quabrar in lines this values? exemology 10 30 40 50 $sql1 = "SELECT mark_ups_range FROM…
-
1
votes2
answers399
viewsQ: How to Make a Mask for Field Validation
How can I make a chew for a field where the usurer is not this low standard example '0.50','0.60','0.70' decimal values always within quotation marks and separated by comma if typed wrong show…
-
0
votes1
answer43
viewsQ: Treat mysql query when ids are repeated
How can I proceed when lines with equal ids in a query in mysql do something, I need... if lines have the same id they get one color, if not another. as in the example below $cmd = " SELECT *FROM…
phpasked Fabio Henrique 2,156 -
0
votes0
answers27
viewsQ: Use Insert or Delete using SQLI PREPARE with array
In the old method I used this way too much to insert or delete a series lines coming from an array. note that the variables are inside conchetes {$x} already using the PREPARE method msqli I can’t…
-
0
votes2
answers176
viewsQ: Repeat selected data in a select in a text input
How to repeat the selected values in one select in a input[type="text"] bearing in mind my HTML below using Javascript? <select name="destino_in" class="form-control" required> <option…
-
3
votes2
answers92
viewsQ: Fix Function in Calculator
As I don’t have much knowledge of javascript I need a little help from you. This my script is a simple calculator but I’m not able to make some functions work. I just need that When choosing a Radio…
-
0
votes1
answer54
viewsQ: Zerar Specific field in the Form
As I do not have much knowledge in javascript I ask a help from you... In my code below I need to reset a specific field that is the field People by the last Select field This form is a calculator,…
-
1
votes1
answer265
viewsA: Error in include when uploading site
If you are using the free account gives up, this Hosting is full of rules not configurable, which they leave default for security. Inexplicable errors end up happening works perfectly elsewhere and…
-
1
votes0
answers54
viewsQ: Block Maps External Query Api
In this code below I perform a query at the address and it returns me some data so far everything ok. What I wanted to know is ? If there’s a way, if a customer enters an address in the United…
-
0
votes1
answer19
viewsQ: Save to Session a Link and destroy another session to make site translation
How Can I Make You Click On A Flag It Records Your Language Data in a Session Brazil ==> writes string "" United States ==> saves to session the string "uses" and by clicking on one destroy…
-
0
votes1
answer60
viewsQ: Mysql Cross Query
I’m not sure how much to express myself more than I need is how I can do a normal and reversed query. Below I have two fields one of origin and the other of destination. I need to make a $origem =…
-
0
votes1
answer69
viewsQ: Multiply value by taking only the first character
Personal I need a help because I have no knowledge of javascript In this script below it makes calculations according to a chosen field It works perfect for me, but my problem is in the dropdown.…
-
0
votes3
answers69
viewsQ: How can I check equal variables within a while
How can I check equal variables within a while? Like if there are lines like the same CODE do something... A Bass put my example $bd = new MySQLiConnection(); $sql3 = $bd->prepare( "SELECT * FROM…
-
1
votes1
answer31
viewsQ: Group Last Gone Returned by Insert in database
In this Script below I make a loop where inside it I enter into the bank. at the end of each insert it returns me the ID of the line saved in the variable part database (.$sql->insert_id .) so…
-
2
votes2
answers78
viewsQ: Grouping Array Results out of Loop
How I Group Array Results out of Loop into a Single Variable In the example below the result that is inside the loop is correct but I need that same result to appear on the outside of the loop, How…
phpasked Fabio Henrique 2,156 -
0
votes1
answer139
viewsQ: Multiply and Add according to Dropdown
In this code below it makes the calculation according to the checkbox but I do not know how to make the third field work. This third field only has to multiply a value by the number chosen in the…
javascriptasked Fabio Henrique 2,156 -
1
votes2
answers83
viewsQ: Locking in field in Div Occult
How to disable a field that is inside a hidden div to not work when sending the form Example: in this my script below when sending the form is also sent the fields that are hidden, but these fields…
javascriptasked Fabio Henrique 2,156 -
2
votes2
answers480
viewsQ: Aligning Counter on Icon
How to do in a correct way where the counter is always in the same position as illustrated below Here depending on the resolution it leaves the position How I wish it would turn out My Code…
-
0
votes1
answer21
viewsQ: Individualize Page Exchange Time
In this script below it makes an alternation between pages , it already works perfectly for me, more accurate that each page have different times from each other, example: page1.php stay showing for…
-
0
votes2
answers254
viewsQ: Add Checkbox fields to the Loop
As I have no knowledge of javascript I would like a little help on how I can make this low script work inside a while and make that add also the decimals outside the loop it works more inside the…
-
0
votes1
answer2108
viewsQ: Update data with Audible Alert
In this script below it keeps updating the div and showing a counter What I wanted is that if there is any change in the number, playing a Sound "An Alarm" only that I have no knowledge of…
-
2
votes3
answers175
viewsQ: INSERT with prepare does not work
I am trying to insert data into the database using mysqli prepare more are not inserting the data, and shows no error whatsoever Questions::: What am I doing wrong in this code below? That’s the…
-
0
votes1
answer54
viewsQ: Check if an array has empty values
I want this foreach to check if there are empty values inside the array, and if there is, display the "error" message. How can I do it right? if (isset($_POST['start'])) { foreach ($_POST['start']…
phpasked Fabio Henrique 2,156 -
0
votes0
answers61
viewsQ: Put a delay on "this.form.Submit()"?
How to put a delay at the event this.form.submit()? onblur="this.form.submit()" <input type="text" name="fornecedores" onchange="this.form.submit()" autocomplete="false" value="<?php echo…
javascriptasked Fabio Henrique 2,156 -
0
votes1
answer62
viewsQ: Run Submit after auto complete field
How can I do in this code below that soon after performing the auto complete in the field, and when choosing the record it immediately realize the form Submit Example of code working below…
javascriptasked Fabio Henrique 2,156 -
0
votes0
answers242
viewsQ: Insert sql with WHERE NOT EXISTS rule does not work
In this Sert below only works until the first rule of "Where" then no longer works Example WHERE descricao ='$ccusto' // funciona perfeitamente. Mas se uso o where abaixo WHERE descricao ='$ccusto'…
-
2
votes1
answer220
viewsQ: Password Comparison Script Only checks once
My script only works once, to make it work I have to give a report on the page. This script below it checks if the passwords are different. When I put a correct password in the first field and…
javascriptasked Fabio Henrique 2,156 -
0
votes2
answers200
viewsA: Validate Fields and Form Submit
I came up with a solution that worked $("#FormSenha").submit(function(){ return false; }); function validarSenha() { NovaSenha = document.FormSenha.Password.value CNovaSenha =…
javascriptanswered Fabio Henrique 2,156 -
2
votes2
answers200
viewsQ: Validate Fields and Form Submit
In this script below I validate the fields if the password is equal i’m not sure how to make the form only work if the password is equal <script> function validarSenha() { NovaSenha =…
javascriptasked Fabio Henrique 2,156 -
0
votes1
answer201
viewsQ: Datatable library conflicting on Other script
I use this library below to run my tebela functionalities <script src="tables/datatables/assets/custom/js/datatables.init.js?v=v2.1.0"></script> But this script below only works when the…
-
2
votes1
answer2030
viewsQ: Line break inside a Boostrap Popover
How to make line breaks inside a bootstrap Popover Example echo"<a href=\"#\" data-toggle='popover' data-title='Popover on Left' data-content='$data <br> $data' data-placement='left'>…