Posts by Edilson • 5,207 points
158 posts
-
4
votes4
answers23723
viewsA: How not to write duplicate data to Mysql with PHP?
To do this just check whether the data you want to enter already exists in the database or not, here is a basic example. <?php if(!$conect=mysqli_connect('localhost','root','','tabela_')) die…
-
6
votes2
answers3697
viewsQ: How to recover values of fields loaded with jQuery
Hello, I recently ran into a problem loading div content dynamically using jQuery, but it turns out that when I upload the content to that div, I can’t recover the values that are sent from it. The…
-
0
votes2
answers14618
viewsA: Select styling via CSS
To format a select you don’t need to create classes for each of them, just specify the select or option tag since they have start and end around the content you want to change. ex. " < select…
-
0
votes2
answers4403
viewsA: Margin breaking layout in Bootstrap
Hello, I just didn’t insert the blank spacing, because at the moment I don’t have an editor of my own, and I really forgot how to insert them manually. <div class="block"> <div…
-
1
votes5
answers8743
viewsA: Center a form vertically
In the div that contains the form, add: margin:50px auto; On the top bar, add: top:0; position:fixed; left:0; right:0; width:100%;
-
0
votes9
answers6629
viewsA: Why is using Sessions not a good alternative to authentication?
Sessions are not a bad alternative to authentication, depending on how you work it can be useful to you for what you need. It is used to work with non-durable authentications, unlike cookies that…
-
1
votes1
answer8997
viewsQ: How to make a simple text editor with jQuery, PHP and Bbcode?
How can I format text in a textarea with Bbcode? Like, create a mini text editor with shortcuts to paragraph, bold, center, these basic options, nothing too custom.
-
0
votes8
answers1132
viewsA: Can you use a variable above when it is declared below?
This is impossible, because declaring: echo $isso; You are passing a parameter that does not exist, but if you are going to declare: echo $isso = "Aquilo"; Then the situation changes, because you…