Search Webmaster Help and Solution

Calculate two numbers goes wrong

Maybe I need a sleep, but I cant find this

I have

PHP Code: (int)$views = (int)$page[views] + 1;
Where $page[views] is a smallint from the database.

Above aint working because I get instead of 1+1 = 2 and 2+1=3
>> 1+1 = 9 and 9+1 = 18 (with steps of 9)

Someone an (simple idea?? Maybe I need a sleep, but I cant find this

I have

PHP Code: (int)$views = (int)$page[views] + 1;
Where $page[views] is a smallint from the database.

Above aint working because I get instead of 1+1 = 2 and 2+1=3
>> 1+1 = 9 and 9+1 = 18 (with steps of 9)

Someone an (simple idea??

View Complete Thread with Replies

Related Items

Query failed: connection to localhost:3354 failed (errno=111, msg=Connection refused).