Posts by Arthur Oliveira • 143 points
19 posts
-
0
votes1
answer55
viewsA: Elements of a Timeline Breaking Line
Hello, I managed to solve this problem, I will put here the code so you can compare with what was having problem, in case you want! Well, what I did was add a class backpage with position absolute,…
-
0
votes1
answer55
viewsQ: Elements of a Timeline Breaking Line
all right? I’m trying to make a Timeline with scroll, but I’m not getting the Timeline elements into the div when it reaches the maximum size, so that this part is not visible. Here is the code I…
-
0
votes4
answers571
viewsQ: Apply class to a link within an echo?
I have this echo below and would like to apply the class buttonlink in it, but I’m not getting. I don’t know if it’s the quotation marks, that backslash or if it’s not possible to do that, if anyone…
-
0
votes0
answers46
viewsQ: Mysqli only runs if you have a Ubmit?
Hello, I have a code, explained below, where I want to make available the files that users uploaded for download, for this I made a php code, but the query is only executed if I upload a file, but I…
-
0
votes0
answers31
viewsQ: PHP code just doesn’t start when loading the page!
I made the code below to show the files that were inserted by the user, however it only shows the files after having attached a file, however I wanted it to show when loading the page, for the user…
-
0
votes1
answer153
viewsQ: Show all database files on a php page?
Guys, I made this code to display all the files that were attached by the user, but it only shows the file with the smallest ID, IE, the first files in the database. That’s the code I used: <div…
-
0
votes0
answers20
viewsQ: Save database data in array?
I have a database where saved email and file names attached by users, which can attach more than one file, and would like to show all the files that the user attached on the screen, I thought to…
-
0
votes1
answer98
viewsA: Phpmyadmin does not save file if you already have one saved
managed to solve the problem, what happens is that I had set the email variable as being key Primary, so it did not accept the upload of other files!!!
-
0
votes1
answer98
viewsQ: Phpmyadmin does not save file if you already have one saved
I made a code to save the name of a file in the Phpmyadimn database, it works if the table is empty, but when I try to attach another file it error, does anyone have any idea why this occurs?…
-
0
votes2
answers128
viewsA: Save filename in BD and access them later?
I managed to solve, with the help of Rafael Augusto’s reply, using the following code: <?php session_start(); require_once('conecta.php'); if (isset($_POST['enviar'])) {…
-
0
votes2
answers128
viewsQ: Save filename in BD and access them later?
I want it to be available when uploading a pdf or ppt file on the site so that the admins of the site can download. I’m managing to save the file in a folder, but I can’t save in the database, does…
-
0
votes0
answers84
viewsQ: Login System - HTTP ERROR 500
I am making a login system, but when submitting the data it from HTTP ERROR 500. I tried to change the code anyway but this error continues. I am using 000webhost to test how the site is getting,…
-
-3
votes1
answer107
viewsQ: Login system giving error!
I am trying to make a login system, I made the form so that when the button was pressed it sent to a page with the following code: <body> <?php $conexao = mysqli_connect("localhost",…
-
0
votes2
answers452
viewsQ: How to send data from an HTML page to Mysql?
I made a registration form, but when sending the values to the database, it does not fill the table and returns no error. Code I used was the following: <body> <?php $conexao =…
-
5
votes4
answers819
viewsQ: How to make a function to tell when an array is empty?
I need a function that lets me know when an array is empty, function validaCampo(){ if(count(dias[])==0) { alert("O Campo Dias disponíveis é obrigatório!"); return false; } else return true; }…
-
-1
votes1
answer506
viewsQ: Save checkbox marked in an array!
I want, when selecting multiple checkbox, these values to be saved in an array, so that it is later saved in the database. If I leave the checkbox with the same id, as follows: <div…
-
3
votes2
answers466
viewsQ: How to make a listbox where I can select more than one value?
I want to make a listbox, where the user can select several options, but using select Multiple, I have to hold Ctrl, however this is not ideal, many people will not know it. Anyone can help? <div…
-
3
votes1
answer67
viewsQ: What’s the difference of using function with THIS or OBJ parameter?
Making a Javascript code recently, I found that when using a Function, when I put THIS as a parameter it was not executed, but when putting OBJ, it worked normally. Can someone tell me the…
-
1
votes2
answers1345
viewsQ: How to make a text box appear when selecting a select option
Hi, I’m developing a website, and I wanted when the user selects the OTHER option, open a text box for him to type, but I’m not getting, someone can help? function mostraCampo(this) { var select =…