Posts by Guilherme Biancardi • 604 points
31 posts
-
0
votes1
answer31
viewsA: E-mail Submission by PHP Mailer
Solved the problem... Outlook needs a special tag for this text, hopefully it helps someone. <!--*|IF:MC_PREVIEW_TEXT|*--> <!--[if !gte mso 9]> <!----> <span class="resumo"…
-
-2
votes1
answer31
viewsQ: E-mail Submission by PHP Mailer
I am using PHP Mailer for sending email, in Outlook appears the title and subject correctly, but where it is underlined in red appears part of the HTML code that makes up the body of the email, I…
-
2
votes1
answer575
viewsA: Submit button giving error - PHP
Solution Do Not Reload Page (You Need jQuery.js Instantiated): HTML <form> <label for="nome">Nome:</label><br> <input id="nome" name="nome" type="text"…
-
1
votes3
answers632
viewsA: Filter array of dates
Forgive me for the great gambit, but if it helps: var arrData = ["08:00", "09:00", "10:10", "10:30", "10:50", "11:30", "11:50", "12:00"] var arrCondition = ["09:00", "10:30"]; var arrFinal = []; var…
javascriptanswered Guilherme Biancardi 604 -
2
votes2
answers724
viewsA: mysqli_real_escape_string Prevent SQL Injection?
Of course solve friend, do the test, create a table with a login field and password, and do the following test (OBS: I am posting the example I did, I use a class for connection to the bank but the…
-
2
votes4
answers351
viewsA: Meta Author does not embed on the site
Facebook stopped showing the Meta Author, only the sites that were cached are being displayed. Apparently they are reformulating the way shares are appearing (this change has been implemented since…
facebookanswered Guilherme Biancardi 604 -
0
votes2
answers33
viewsA: How to locate the data of the respective month
I believe that’s what you’re looking for: mysqli_query($sql,"SELECT data, sum(total) FROM pedidos WHERE date like '%" . date("Y-m") . "%'");
-
0
votes1
answer103
viewsA: Automatic validation of inputs
For this you will need to use ajax and preferably jQuery: JS: $(document).ready(function () { // A cada tecla precionada executo o AJAX…
-
2
votes2
answers3896
viewsQ: Cancel sending jQuery form
Good afternoon, I have a form and I want that when the button submit be clicked it does not reload the page for the post submission put the return false; in function submit of jQuery but it did not…
-
-1
votes1
answer65
viewsA: How to transform this code to validate multiple files?
First you have to make sure that the fields FILE form be "Array": <form action="file-upload.php" method="post" enctype="multipart/form-data"> Envie esses arquivos:<br /> <input…
-
1
votes3
answers1256
viewsA: How to do an INNER JOIN bringing everything from two tables and one more "max" in a specific field?
SELECT tabela1.*, tabela2.pontos, tabela2.garcom_id FROM tabela1 JOIN tabela2 WHERE tabela2.garcom_id = tabela1.id So you do the Join of the 2 tables, returning only the points and the field…
-
1
votes1
answer140
viewsA: Regular expression when there are equal strings
I think what you’re looking for is: <?php // Simulando uma string contendo valores aleatórios $string = "Ola tenho R$ 35.00 e tambem R$ 0.00 com R$ 127335.98 reais"; // Variável onde armazenarei…
-
0
votes2
answers102
viewsA: How to convert "month" to "months" using PHP timestamp?
From what I understand the answer seems to me to be too obvious, but I believe not to be that, good in any case... In this part I think you just need to put a "and": if($difference != 1) {…
phpanswered Guilherme Biancardi 604 -
-1
votes2
answers68
viewsA: database saving only password
Come on, first take these off <br/> from within PHP, if you want to use them put in a echo. To avoid problems with quotation marks etc on your SQL utilize {}: $sql = "INSERT INTO users…
-
4
votes3
answers168
viewsA: Why is it necessary to create a function to execute certain methods?
Actually it works see the example below, what happens is that when you arrow document.getElementById("demo").onclick = myFunction(); the browser understands that this is the control function of…
-
2
votes2
answers158
viewsA: How to block the double click on a video?
I suggest using a JS API for this, because this event is still having problems in some browsers... A simple and good api for video is the video js. in it you can lock the fullscreen perfectly, see…
-
0
votes1
answer86
viewsA: Problems with installations in Raspian
This error is because you don’t have any JDK or JRE packages installed on your machine, download them on: JDK Download After installing restart the machine so that Windows or Linux identifies the…
-
0
votes2
answers44
viewsA: Problem with form formatting
Add this code in css: .campos { margin: 5px; } which will solve your problem, try to insert in the div where the Submit button has a <label> </label> this will solve the button…
-
1
votes1
answer53
viewsA: Ajax displays message and hides right away
I think it might be some kind of incompatibility with Function, since you are creating a Function within another, the most correct thing would be to just call Function in the click event: function…
-
-1
votes3
answers135
viewsA: Edittext style texts - Underline in Zigzag
Use regex with replace, as I’m not sure what kind of editor you use I did a basic example that says "$test" and "var test": EXAMPLE Regex click here to see HTML from the example: <textarea…
-
0
votes3
answers548
viewsA: Calling an HTML file inside a Lightbox modal
How you asked me for HTML: <div id="abremodal" class="btn btn-primary " data-toggle="modal" data-target="#minhaModal">Open Modal</div> <div class="modal fade" id="minhaModal"…
-
0
votes2
answers705
viewsA: How do I find the '[' character in a Javascript string?
You can use the indexOf that he will return to position: var text = "teste [ teste"; console.log(text.indexOf("[")); But in case you want to pick up the date and time that is within "[]" (which I…
javascriptanswered Guilherme Biancardi 604 -
1
votes7
answers19300
viewsA: Increasing modal size using bootstrap and html
You must have some CSS rule blocking this size, I made an example with your modal and this working perfectly see: Modal Example I put 2 CSS rules only, the first determines the modal size the second…
-
0
votes3
answers548
viewsA: Calling an HTML file inside a Lightbox modal
Create a div with an id inside the modal and in javascript put: $("#SEU_MODAL").click(function(){ var request = $.ajax({ url: "SUAPAGINA.html" }); request.done(function (data) {…
-
2
votes4
answers554
viewsA: Correct CSS Div > li > span
Remove the ">" from the CSS so try: .AlterarCSS li span{ background: yellow; } Or do it the way you define your children correctly: .AlterarCSS > ul > li > span{ background: yellow; }…
cssanswered Guilherme Biancardi 604 -
-1
votes3
answers4284
viewsA: Problem with special character "ç" in javascript
If you do not want to use the hexcode you can try using this function to give Find in the "ç"... I do not think it is feasible whenever you have a special character to have to look for its hexcode:…
-
0
votes3
answers2563
viewsA: Connection to sql database on multiple php pages
Whenever multiple pages will perform requests or inclusions choose "require_once" or "include_once" as they avoid duplicate inclusions in cases where a page accidentally tries to call a file 2…
-
1
votes1
answer752
viewsA: Menu Hamburger Bootstrap Burger
See if that helps you: Codepen
-
3
votes1
answer386
viewsA: Foreach with 2 conditions
From what I understand: foreach($muda_path as $produto_link){ $ProdID = $produto_link; foreach($muda_path1 as $produto_link1){ $subcat = $produto_link1; $prod_select_categoria = "SELECT * FROM…
-
1
votes1
answer53
viewsA: Error installing Windows 8.1 Cordova
I went through this, the solution that worked for me was to download a specific version of nodejs (Node-v0.10.32-x64) or (Node-v0.10.32-x86)!
-
8
votes1
answer416
viewsQ: Cordova + Crosswalk
I created a normal Cordova project: cordova create myApp com.myapp myApp then I entered the project folder cd myApp added the platform: cordova platform add android and added the crosswalk plugin…