Questions tagged as 'contador'

1
answer

Count arrays inside PHP array

Good people, I have the following array [[],[{"id":3,"image_name":"47440_planet_mars.jpg","path":"59c1d5ddd862547440_planet_mars.jpg","imageable_id":9,"imageable_type":"App\Assay","created_at":"2017-09-20 02:43:41","updated_at":"2017-09-20 02:...
asked by 20.09.2017 / 06:17
2
answers

Where to use accumulators in an odd and even evaluation algorithm?

Where should I fit the accumulators of this code I wrote for now? #include <stdio.h> int main() { int N; int somapar; int somaimpar; do{ printf("\n Digite um número qualq...
asked by 13.10.2016 / 21:17
1
answer

script only in visible tags

I want the script to count only the <li> tags that are visible, but the code below counts even with display:none . Is there anything that does this? I have the following HTML: $( ".rodapeUlCat" ).append( $( "<...
asked by 25.10.2016 / 22:58
1
answer

Variable PHP counter

Good people, I have a form in a PHP file to populate a ranking table. And I wanted my form to ask something like "Athlete number in position
asked by 17.06.2015 / 16:03
2
answers

how to select items in while counter, in php

I have created an admin page where I have entered the data for books in the database. I made this html where this data will be shown. the array will create this block "header" with all the books registered in the admin pages, but I would like to...
asked by 30.12.2017 / 23:38
1
answer

Random ads with viewer counter

I have the following script to put random ads on the site, in addition to simple and easy also works very well and fast with multiple ads. The problem is as follows: How many times have each ad been chosen by this script (how many times have...
asked by 13.12.2016 / 15:16
1
answer

Placing an iterator on a table in a .pdf file.erb

I have a table where there is a list of people I want to put a counter to get a number on the side of each item in the list: type like this: 1-Mary. Segue arquivo financial.pdf.erb''<tbody> <% @people[:people].each do |p...
asked by 12.04.2016 / 18:58
1
answer

How to add counter for each if of my simple code

#include <stdio.h> #include <stdlib.h> int main() { float x,y; char k; do{ printf("Este Programa indica o quadrante no pla...
asked by 22.03.2016 / 02:46
2
answers

Add thousandths in the jquery counter

I'm having a Javascript code that does a Days / Hours / Minutes / Seconds counter. But I need it also count the thousandths, but I have little knowledge in javascript and I do not know how to increase this option. The code that counts up is as...
asked by 20.08.2014 / 08:51
0
answers

Counter Visits Anti Bot Share Facebook

We created a hit counter, but we need no counting through the visits to read bots, especially from facebook. This code is called via ajax, after the user has been on the page for 5 seconds. But even so, when sharing the page and facebook r...
asked by 23.07.2018 / 20:39