Posts by Everton Figueiredo • 520 points
48 posts
-
1
votes0
answers60
viewsQ: Comparing two strings in C
I’m having a problem knowing which position the user’s CPF is registered in the user’s struct array, the problem is that when I compare lista_usuarios[i].CPF == cpf_recebido never appears. Code I’m…
casked Everton Figueiredo 520 -
1
votes1
answer132
viewsQ: Drawer all white, nothing shows up
I’m having trouble creating the SiderBar. The Drawer nothing appears. Everything is blank. My man who calls this file is: import 'package:Cardapio/consts/consts_app.dart'; import…
-
3
votes1
answer464
viewsQ: Taking value from a hidden column of datatables?
How do I get the value of a column with the visible: false? "columns": [ { data: "Nomes", autoWidth: true, visible: false}, ] Example of the Names column, I’m currently doing so.…
jqueryasked Everton Figueiredo 520 -
-2
votes1
answer104
viewsQ: Implementing CHECKBOX in Datatables
I want to put a CHECKBOX field in the first column where I will be able to select all the records, or just a record. var montarDataTable = function(){ if…
javascriptasked Everton Figueiredo 520 -
1
votes0
answers67
viewsQ: How to get Getmodulebaseddress from a C++ process?
I’m trying to get the Getmodulebaseddress of a process I’m trying to monitor, however I’m not getting why I have the offsets, add they however does not work, if I just access the process there yes I…
-
0
votes2
answers453
viewsQ: Creating HTML with Jquery and Json
I want to take JSON’s exit from the page select.php and place each line in a <div id="estabelecimento"> with your attributes, I’m doing it this way: $.getJSON('select.php', function(data) {…
-
0
votes1
answer23
viewsQ: Tab does not change when I switch pages
I am on a page and when click on a button I call an event, I want it to call another screen, they are calling but the tabs is not changing, remains in the same as the button. Code I’m using to call…
-
0
votes1
answer3769
viewsQ: How to select a field and type in it with Selenium?
I’m trying to select the input field but I’m not getting it. Error Traceback (most recent call last): File "C:\Users\Pichau\Desktop\Teste.py", line 7, in <module> elem.clear() File…
-
0
votes2
answers1343
viewsA: How to eliminate repeated numbers from a visualg vector?
Can be performed as follows para i de 0 ate 9 faca para j de 0 ate 9 faca se ((x = 1) e (veto1[i] = veto2[j]))entao veto2[i] <- 0 fimse se ((x = 0) e (veto1[i] = veto2[j]))entao x <- 1 fimse…
-
0
votes2
answers1343
viewsQ: How to eliminate repeated numbers from a visualg vector?
algoritmo "semnome" // Função : // Autor : // Data : 06/02/2018 // Seção de Declarações var veto1 : vetor[0..9] de inteiro veto2 : vetor[0..9] de inteiro j,i : inteiro inicio para i de 0 ate 9 faca…
-
0
votes1
answer56
viewsQ: How to generate query and add new input?
I have a field input of the kind date I want every time I click and view it generates a select with the date query I have set and generate a new input to add another date and so on. My code so far:…
-
0
votes2
answers800
viewsQ: How do I put two Datatables on the same page?
The first table picks right but the second load is not the table without the Datatable attributes. How do I use both on the same page?
-
-1
votes2
answers406
viewsQ: Do not send email with PHP Mailer
I have the following code: <?php // Inclui o arquivo class.phpmailer.php localizado na pasta class require_once("a/class.phpmailer.php"); require_once("a/class.smtp.php"); // Inicia a classe…
-
1
votes2
answers299
viewsQ: How to move the position edges after the Hover?
I have this div with edges in the corners and wanted the right edge to be down and the left edge to be up when the div is on hover but I couldn’t apply the effect. Below is what I tried: div.classe…
-
0
votes3
answers248
viewsQ: How do you make the edges of a div transparent?
I want to apply a color to div and on the sides of it it gets clearer until it’s transparent, you can do this with CSS?…
-
1
votes3
answers431
viewsQ: How to line up div next to two Rows?
I want to leave the last image centered in the middle of the two Rows but I do not know how to make used one margin-top: 15%; went to the center as I want to put the second Row went down and was not…
-
1
votes1
answer78
viewsA: Percentage calculation
I use it as follows: (V2-V1)/V1 × 100 = PORCENTAGEM Let’s say you have an item that has the value of R $ 50 and with the discount was R $ 20 so we put as follows: ((20 – 50)/50) × 100 = PORCENTAGEM…
phpanswered Everton Figueiredo 520 -
0
votes0
answers21
viewsQ: Email is not coming with mail()
I want to send email via php however function mail() is not returning nor an error, and I do not know if my code is wrong: <?php $to = "MEU EMAIL"; $subject = "Php Mail"; $body = "Test Message…
phpasked Everton Figueiredo 520 -
4
votes2
answers1807
viewsA: What is the use of cache = false in ajax?
When we use the request many times, and it has the same return the browser saves the cache thus making it impossible to have an updated response and we end up seeing the same result, putting cache:…
-
0
votes1
answer41
viewsQ: How to perform ajax but not update content from div so add?
I have a <div> where the function return ajax and returned, however it updates, I want to know if you have how to perform the function ajax and instead of updating it bring the result leaving…
-
2
votes1
answer502
viewsQ: Like locking <tr> after clicking once
I have several table row and when click on one <tr> run this script: $(function(){ $('tr').click(function(){ $("tr").prop("disabled", true); var id = $(this).attr('id');…
-
0
votes0
answers54
viewsQ: How do I turn mysql into Pdo?
I have this Function in mysql. public function get_logst(){ $this->connect_database(DAT5); $querygetl = mysql_query("select HeroName, ObjIdx from ObjLog where LogType = '5' and LogSubType = '2'…
-
2
votes1
answer10470
viewsQ: How to step enctype="Multipart/form-data" by $.post?
How do I send a form via $.post with an input file type where the form has enctype="Multipart/form-data"? All other fields make the insertion problem that the file does not pass because it does not…
jqueryasked Everton Figueiredo 520 -
1
votes1
answer34
viewsQ: How can I save the maximum value obtained in rowCount?
How do I logica so that only update my variable when the Rowcount value is the highest ever obtained? Example: I performed the sql query and returned 15 record, saved 15 in variable $maximothen I…
phpasked Everton Figueiredo 520 -
1
votes1
answer584
viewsQ: How to make an INNER JOIN with two tables in different Banks?
I have two different banks that I make the connection as follows: date_default_timezone_set('America/Sao_Paulo'); abstract class BancoDados { const host = 'localhost'; const novoweb = 'novoweb';…
-
0
votes1
answer54
viewsQ: How to send more than one value by Return
I am performing a query in the bank and want to returns more than one query value as I do it? The structure of my table and the following Id_idx | name | OUTROS | Each Id_idx can be repeated up to 3…
-
0
votes0
answers69
viewsQ: How to compare php password to sql that was entered with PASSWORD
Enter the password with the PASSWORD argument in my example query. INSERT INTO table_name (column1, column2, column3, ...) VALUES (value1, PASSWORD(value2), value3, ...); I want to know if you have…
-
0
votes3
answers1192
viewsA: How to obtain the line number of a SELECT statement in PDO?
Try this way. $contador = $this->con->conectar()->prepare("SELECT * FROM login WHERE 'usuario' = :usuario AND 'senha' = :senha"); $contador->bindValue(":usuario", $this->usuario);…
-
0
votes1
answer64
viewsQ: How to save the highest value of rowCount?
I want to save in a variable the highest value ever obtained by rowCount I just don’t know how to make the logic. Current consultation: $playeronline = $pdoG->prepare("SELECT login FROM u_hero…
-
0
votes1
answer692
viewsQ: Change column name "id" of an sql return
I want to conduct a consultation SQL and change the name of the columns in the result because I have 3 columns id. Currently my SQL this way: SELECT * FROM shopweb_tipo as st INNER JOIN…
sqlasked Everton Figueiredo 520 -
2
votes3
answers7594
viewsQ: How to align content in <td>?
How do I align the content of <td> inside my table? I know that to align horizontally I use text-align: center; //text-aling está errado. I want it to look like Teste and Armas. <table…
-
0
votes2
answers723
viewsQ: How to post without reloading the page?
As I do to perform a post to another page without having to go to it, I want to send the data and appear the return on the same page whether it worked or not sending, but I do not know how to do.…
-
1
votes1
answer582
viewsQ: How to perform safe file upload?
I want to realize the upload of files securely without worrying about the extension. I’m afraid someone try to send a file to my site and run it inside the server, do not know if and possible more…
-
0
votes1
answer155
viewsQ: How to ignore first <tr> in jquery.datatables?
I have a table where the first <tr> I put an image, if when I search comes along the name of the image. For example: in the first row of table a img is named after head.png and the rest of the…
jqueryasked Everton Figueiredo 520 -
0
votes2
answers268
viewsQ: Passing variable value by $.post
I am trying to however not know how to send the value of select to the page.php <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html;…
-
2
votes0
answers156
viewsQ: Two databases with PHP PDO?
I’m trying to make a connection to two databases with PDO ta thus. Config.php <?php class config{ var $host = 'meuhost'; var $usuario = 'meuusuario'; var $senha = 'minhasenha'; var $db =…
-
3
votes1
answer5988
viewsQ: How to take current date, and put on an Insert?
How can I get the current server date and put it in my query to send to the database? I have no idea how I can take the current time and put in a variable to send to the bank, thank you.
phpasked Everton Figueiredo 520 -
0
votes4
answers1314
viewsA: Position div below other after browser decrease
I don’t know if it’s feasible for you but I like to use Bootstrap in these cases, it speeds up development and is more visually beautiful in my opinion, take a look at the Grids System that you will…
-
2
votes1
answer51
viewsQ: Change "on" to "click" in Javascript function
I want when I click on the radios to call the function, currently this way. $("input[name='txtCategoria']").on('blur', function(){ var txtCategoria = $(this).val();…
-
0
votes3
answers4720
viewsQ: Uncaught Typeerror: $(...). tooltip is not a Function
This error appears when I press F12, and the Bootstrap data-toggle="tooltip" does not appear on the page anyone can help me? Uncaught TypeError: $(...).tooltip is not a function at…
-
1
votes2
answers2100
viewsQ: data type input only accept date greater than 18 years
How do I put a condition within the input type date so it only accept dates older than 18 years, I was wondering if it has a condition to lock the input for dates older than 18 years, is for a form…
-
0
votes1
answer34
viewsQ: How to make a call from a file that contains an ajax form?
How I call a file that has the content of the conditions form? Html <label>SELECIONE UMA OPÇÃO</label> <form> <label><input value="A" name="opcao" type="radio">opcao…
-
0
votes1
answer70
viewsA: Problem with Navbar
If you are using the bootstrap use. <nav class="navbar navbar-default navbar-fixed-bottom"> <div class="container"> ... </div> </nav> And if you haven’t recommended give a…
-
1
votes1
answer473
viewsA: Help setting up WAMP Server
Inside wamp’s WWW folder, you will find a file called index.php, open it. On line 338 you will find the following $projectContents .= '<li><a href="'.($suppress_localhost ? '//' :…
-
1
votes0
answers22
viewsQ: Modify type text for radio for ajax query
The code that I have is this, but instead of type="text" I want it to be radio type, and when I select a radio of the value example "A" list me the data that has A, why with type="text" I have to…
-
1
votes2
answers573
viewsQ: Call a form depending on selected radio inputs
I have two input fields of type radio depending on the combination of choices I want to call a different form for each case, example. <label>SELECIONE UMA OPÇÃO</label> <form>…
-
0
votes1
answer1449
viewsA: Edit Image in Mysql + PHP
Get to do what I wanted with the help of @Willian Coqueiro follows the code. <?php session_start(); include_once("seguranca.php"); include_once("conexao.php"); $id = $_POST["id"]; $nome =…
-
0
votes1
answer1449
viewsQ: Edit Image in Mysql + PHP
Hello people first ask me here on the website sorry if I end up doing something wrong. My doubt is the following, when I will make the change of the data of a product always have to put the photo in…