Posts by Gabr13l_Alm31da • 79 points
11 posts
-
0
votes1
answer20
viewsQ: Execute variable contained function name (PHP)
I am mounting an application that executes a function with its own name In case the Contact page would have to perform the Contactoctl() function only it is in a $method variable. How would I…
-
3
votes1
answer5597
viewsQ: ERROR The index was outside the matrix limits (System.Indexoutofrangeexception)
//Esse código tem o objetivo de substituir uma letra por um código string usuario = Environment.UserName; string palavra = usuario.ToLower(); int tamanho_array = palavra.Length; var array = new…
-
0
votes1
answer35
viewsQ: How to get a searched value in a PHP string?
I have a string that contains html code : $pagina = "<!DOCTYPE html> <html lang='pt-BR'> <title>Pagina</title> <meta charset='UTF-8'> <div class='conteudo'>…
-
2
votes2
answers234
viewsA: Selectedvalue error of a dropdownlist in ASP.NET
After some time testing and thinking I found where was the error in my Code. In the Clean() method it calls dpCor.Text = ""; dpModel.Text = ""; dpDono.Text = ""; This made the variables empty and…
-
0
votes2
answers234
viewsQ: Selectedvalue error of a dropdownlist in ASP.NET
I have an Asp.Net form for vehicle registration, where there are DropDownList which are filled with database data. However, clicking Save returns the error System.Exception: 'Unable to record…
-
0
votes0
answers119
viewsQ: Progress bar c# (windows form) using mysql data
I currently have this code in one of the formats of a developing application and would like to create a progress bar that by clicking the View button (which takes a while to fill the datagrid) would…
-
-1
votes1
answer242
viewsQ: Block a button after displaying jquery validate message?
I would like help with the jquery validate, I am doing a js exercise and would like to increment and block the send button when displaying the validation message. In theory I already finished the…
-
0
votes0
answers432
viewsQ: How to make a score in PHP or JS?
I saw many similar questions but none answered me, I would not like to use Ajax as it is an exercise the teacher asked only JS, HTML and PHP. I made a mini quiz game, everything is working right but…
-
1
votes3
answers229
viewsQ: Display the result of a COUNT in the Database
The PHP code looks like this: $con = new PDO(SERVIDOR, USUARIO, SENHA); $sql = $con->prepare("SELECT COUNT(id) FROM quiz;"); $sql->execute(); $n = $sql->fetchObject(); And the HTML code…
-
0
votes2
answers3033
viewsQ: Set current date in PHP and put HTML value in an input type='date'
I tried it this way but it doesn’t work <form action="add.php" method="POST" name="form1"> <div class="w3-section"> <label>Nome do funcionario</label> <input…
-
0
votes1
answer1224
viewsQ: How to call an ID in HTML more than once?
How to call an id more than once ? <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <!DOCTYPE html> <html> <head> <meta…