Posts by Diego Marques • 3,701 points
159 posts
-
1
votes1
answer280
viewsA: How to show an image while the photo slide loads
Hello, In this case, one solution is to start the hidden slider (display: None), perform a loading via Javascript, and display the slider when all images are loaded. Below is an example: $imgs =…
-
1
votes1
answer213
viewsA: PHP - Accessing CSV file and printing specific cells on screen
Hello, The function that will help you in this case is the fgetcsv. Official documentation: http://php.net/manual/en/function.fgetcsv.php Example taken from official documentation: <?php $row =…
-
1
votes1
answer746
viewsA: Store JSON data in Mysql
Hello, In this case, you would be fleeing the first normal way. Database normalization is essential to ensure integrity and performance. Therefore it would not be recommended in this case that you…
-
0
votes1
answer1744
viewsA: Button to delete record
You just need to add a new column in your table with the link/button inside the while, follow below your code with the change / example: <h1 style=" text-align: center; height: 7; margin-top:…
-
6
votes2
answers637
viewsA: How to draw a pizza using css
In this case it would be possible with multiple background + linear gradient: .btn-fab { border: 1px solid #000; border-radius: 30px; } .btn-pizza-1 { background-color: #fff; } .btn-pizza-2 {…
-
1
votes3
answers1142
viewsA: Remove whitespace when counting Javascript
Before counting the amount, you can remove blank characters with regular expression: num_caracteres = document.form1.txtTexto.value.replace(/ /g, '').length;
javascriptanswered Diego Marques 3,701 -
1
votes3
answers1421
viewsA: foreach - Browsing CSV archive
In your case, the problem is in the fgetcsv function call. The third parameter is the delimiter, which you are passing the comma (,), but according to your example, this csv is separated by…
-
0
votes2
answers51
viewsA: Return desired value within a function
In this case, this behavior is due to the fact that you are using setInterval, which by its feature, starts a processing in parallel with the execution of the main code. The interpreter’s behavior…
-
0
votes1
answer168
viewsA: Relative Position of the Table row
The logic is to +- count previous siblings that are visible. var index = $('table tbody tr:visible.ux-select').prevAll(':visible').length + 1; Follow an example:…