Posts by GtGtGt • 511 points
17 posts
-
0
votes2
answers338
viewsQ: Error when assigning variable value to vector in C
I am creating a user register using struct. In it, there’s the CPF field. As it is a very large field to store in number format, I decided to save as a string, as well as in a database where Cpf is…
-
4
votes2
answers5070
viewsQ: How to display a certain position of an associative array?
This is my array associative: $vetor = array( "Nome"=> "posicao1", "Telefone"=> "posicao2", "Idade"=> "posicao3", "Sexo"=> "posicao4" ); To display its contents I can use the foreach();…
-
1
votes1
answer88
viewsQ: Javascript conditions not working
I am making a calculation with the following information: Style, experience, height and weight. With height and weight, I take the user’s BMI and compare it to their experience. With style, I define…
-
0
votes3
answers2210
viewsQ: How to display the value of a variable in a modal bootstrap with PHP?
I have a form which makes a calculation, inserts it into the database and returns the value through a alert. I would like to replace this message from alert by a modal. HTML <form method="post"…
-
4
votes4
answers3072
viewsA: How to leave a height-height fixed on the page?
CSS is an inheritance language, that is, there is a hierarchy of properties where the characteristics of the "Father" will override those of the "Son", so every item you declare will inherit the…
-
0
votes4
answers959
views -
0
votes0
answers20
viewsQ: Codeigniter, code with small bug
I am following this tutorial on codeigniter: http://www.dicascodeigniter.com.br/mini-crud-com-codeigniter-3-e-bootstrap/ When downloading and running the project, he presented me the following…
-
2
votes1
answer960
viewsQ: How do I make an image appear on the full screen only in mobile mode?
Are two site templates, the desktop (Which is already ok) and mobile. In mobile, I want it to display a black background with JUST an image occupying the center of the screen. The entire length…
-
1
votes1
answer445
viewsQ: How to make a modal fire and stay at the bottom/bottom of the page?
Modal by default shoots from top to top. I want to do the reverse. Let him shoot from the bottom and stay there (at the bottom/footer/footer). I changed his top, but in mobile the positioning is…
-
1
votes1
answer696
viewsQ: Restful site, when resizing the elements go to the bottom of the page
The page has only one photo in the center and some texts. I added a Media Query so that when the viewport is less than 700px it increases the images, but when I decrease my screen, it explodes...…
-
2
votes4
answers3072
viewsQ: How to leave a height-height fixed on the page?
What to make the page occupy 100% of the viewport, that it does not have scrollbar. Whether on a small, medium, large phone, tablet and desktop. The height (height) has to be fixed, occupying the…
-
3
votes2
answers261
viewsQ: How to run Wamp Server over network?
I installed Wamp Server on the network, but it does not work. It turns red, I swipe the mouse and it says "Server online". I already modified the httpd.conf file to release the permission for all…
-
3
votes1
answer420
viewsQ: How to make a transition button similar to Google Translator for a mathematical operation
I’m creating a little calculator that converts Kilograms in Pounds and Pounds in Kilograms. My goal is to insert a value in a first input and display the result in a second input which comes next.…
-
1
votes1
answer1133
viewsQ: Error in connection with the database. Java + Workbench
Error in connection with bank. Can anyone help me? package conexaoprojeto; import java.sql.*; import javax.swing.JOptionPane; public class ConexaoProjeto { private final String Driver =…
-
1
votes1
answer258
viewsQ: How to display a horizontal array?
I am unable to print a horizontal array on an HTML page. How can I do this? PHP: if (isset($_GET['nome']) && $_GET!=['nome']) { $lista_tarefa = array(); $lista_tarefa['nome'] =…
-
5
votes1
answer166
viewsQ: How to put a text cursor to start on the right? Calculator
I’m making a basic calculator and on the calculation screen, I want the numbers to be "printed" from right to left. How can I do this?
-
11
votes2
answers811
viewsQ: HTML5 form validation
I am making a validation form using HTML5 and its own tags to validate the fields. I am using the PATTERN, that limits the character type. But it doesn’t work... Fields are not being locked. "Code",…