Posts by ARodrigues • 75 points
21 posts
-
0
votes1
answer2915
viewsQ: direct page with onclick inside a form
Basically what I need is to put a 'back' button inside my form. It has to be inside for aesthetic reasons, the back button would be inline with the send button. I made a short code: <form…
-
1
votes1
answer180
viewsQ: maxlength plugin in ckeditor does not work
I need to limit the number of characters in the Ckeditor. I followed the step by step of this topic: Limiting text in CKEDITOR But it didn’t work. Below the changes made to my code: <textarea…
-
0
votes1
answer2303
viewsQ: background image does not go out in print (using window.print)
I need to print a page that has a background image as background, a Dagua logo. But using window.print() the background does not appear in the image (unless the user marks "background Graphics" on…
-
0
votes1
answer318
viewsQ: onclick "confirm" does not work Cancel button
I have an onclick confirm in my code that, if ok, it sends a variable to a specific page. If Cancel... it should cancel the operation. But even if you click on Cello, it is sending the variable to…
-
1
votes1
answer869
viewsQ: window.confirm with custom buttons
How do I get onclick return a window with the 3 options: Yes Not Cancel I need to know how to treat the selected option as well. The link will direct to a code PHP that will treat the ID passed, if…
-
1
votes1
answer118
viewsQ: How to mark a radio input when clicking a DIV?
The question is self-explanatory. I have a form with 3 divs, each div has a img and a radio, would like that when clicking on the imgs, the radio that this in the same div of img click be marked.…
-
0
votes3
answers1141
viewsQ: How to call HTML code inside css?
First of all, it is quite possible that there are already topics talking about this. It was not lack of research, I believe only that I did not find the correct keywords. Self-explanatory question.…
-
0
votes1
answer805
viewsQ: Change favicon in a Wamp project
I used the following code inside to change the favicon of my project <link rel="shortcut icon" href="img/favicon.ico"/> It worked well on the index, but when entering the same code on the…
-
0
votes1
answer1389
viewsA: wamp error via network
In order to help other developers face the same problem, here is the answer: in the ".. wamp bin apache***conf extra httpd-vhosts.conf file" find the code snippet: <VirtualHost *:80>…
-
-1
votes1
answer1389
viewsQ: wamp error via network
Good night. I installed a web system on a machine where I have installed Wamp 3.1.0, but when I try to access it through another machine connected to the same network I come across the following…
-
0
votes1
answer1060
viewsQ: ERROR CODE 1215 - You cannot add foreign key
Table 1: Table 2: Commando: ALTER TABLE extras ADD FOREIGN KEY (login) REFERENCES usuario(login); Answer: Error Code: 1215. Cannot add foreign key constraint Cannot find an index in the referenced…
-
0
votes2
answers84
viewsQ: How to work the return of a select max query?
I will be brief: When trying to work the values of a query that uses MAX, I get the error: Use of Undefined Constant protocol - assumed 'field name'. Table: Select: $atestados = $conect -> query(…
-
0
votes5
answers1555
viewsQ: How to display DIV if radio is marked?
I have the following code: <form> <input type="radio" id="div1" name="consulta[]" value="1">Opção 1 <input type="radio" id="div2" name="consulta[]" value="2">Opção 2 <input…
-
1
votes0
answers430
viewsQ: Indentation and line breaking in sql data for html
In short, I created a table with type text in sql so that the user can save some content. However when pulling it back into HTML the formatting is lost. To remedy this I thought of using the tag…
-
1
votes2
answers291
viewsQ: How to post date and time using datatime type in sql
PHP: $date = new DateTime(); print_r ($date); outworking: DateTime Object ( [date] => 2017-11-07 15:51:26.000000 [timezone_type] => 3 [timezone] => America/Sao_Paulo ) OK so far. Database…
-
4
votes1
answer462
viewsQ: What is the foreign key (SQL) for
For what I’ve been researching, when pulling the information of two tables in a database, JOIN is used, which has nothing to do with foreign key. So what’s the point of declaring a field as Foreign…
-
1
votes1
answer178
viewsQ: Demystifying the Veritcal-align... on which display does it work?
No, the question is not repeated... In other questions, I saw gambiarras to align the text vertically using margin, padding, etc. And saw as a possible solution, change to display:flex,…
-
0
votes2
answers4381
viewsQ: Height of Row in bootstrap using percentage (%)
How to change the height of the Row in the Bootstrap using percentage? I tried the property height so much on the CSS, how much in the HTML pure, and did not work. In a nutshell, I want to have…
-
1
votes1
answer547
viewsQ: Why does the "container" class in Bootstrap leave side spaces on the page? Is that normal?
Because the class "container" Does Bootstrap leave side spaces on the page? This is normal or am I forgetting something? I also need to know how to change the height of each Row, because I tried to…
-
0
votes3
answers839
viewsQ: GRID bootstrap system - col-Xs-X does not recognize width
I am studying bootstrap, and when formulating the GRID system a col recognizes the values LG, MD, SM, but does not recognize the requested XS. When I resize the browser to mobile size it always puts…
-
0
votes1
answer438
viewsQ: Select related to another select, pulling data from the database
I need to create a form that pulls the options from the sql database. So far so good, I did a while inside a query in php; echo '<SELECT NAME = "setor">'; while ( $temp =…