Posts by Max Fly • 43 points
6 posts
-
-3
votes1
answer32
viewsA: Grab information, open window and only release window when entering a password. Python
Try this one: First check whether n != 0 and it’s not 123456: Note: The T.I password you could put in a development variable file or something like... n = 1 while n != 0 and n != 123456: n =…
-
0
votes1
answer15
viewsA: PHP+File uploading error
This is happening because you are trying to print the value of $_POST['texto'] whether or not there is any value. Try this, check first if the variable has started: <?php if…
-
2
votes1
answer67
viewsQ: Add class using Jquery in a specific form?
How to add a class to the palette button I click on "Like"? For example, I have several color palettes, but when I click on Like, all buttons get the class .red, I wanted just what I clicked to get…
-
-2
votes2
answers77
viewsQ: Create new Rows in Bootstrap according to the amount of items in the database with PHP
I need to create a new div class="row" when it reaches the limit of 12 columns, in my case I am using col-md-3. Therefore, the maximum items per column are 4. <?php foreach ($data['palettes'] as…
-
-1
votes1
answer27
viewsQ: Random values with Jquery do not work
I have this code with JQuery, He does this: With the loop as long as it is < 5 he adds 5 li’s in my html, and then it generates a size random and adds in CSS, but it doesn’t work, all of mine…
-
1
votes1
answer91
viewsQ: Return an instance of the same class in Static Function
I’m trying to return an instance of the same class in static functions, for example, in the code below, works normal: class Router { private $name; public function get() { return $this; } public…