Search found 23 matches

by sniko
Mon Nov 03, 2014 9:36 am
Forum: Off-Topic
Topic: Modern web problem not being discussed?
Replies: -1
Views: 894

Re: Modern web problem not being discussed?

A great example of this is on Forbes when reading an article, as well as YouTube, when finding a video, after 0.5/1 seconds on pageload, sponsored videos take the first and second place on the list - 7/10 times I click on the sponsored video instead of my intended one.
by sniko
Fri Oct 24, 2014 8:12 am
Forum: General Development
Topic: GitHub?
Replies: -1
Views: 2361

Re: GitHub?

Making your code private Use GitLab on your own server Upgrade your GitHub account to allow private repos Don't use a GUI service, and have GIT on your machine - no need to push to a central server Pull code down from a repo This is pretty swift. I've written an answer which (kind of) addresses thi...
by sniko
Sat Oct 18, 2014 5:15 pm
Forum: Beginner Help and Support
Topic: Mysql to Mysqli
Replies: -1
Views: 636

Re: Mysql to Mysqli

Should you convert it to use mysqli api rather than mysql? Yes. Vanilla mysql_* functions are deprecated and will be dropped, therefore once your hosting provider (or you) upgrade your PHP version somewhere in the near future, your application won't work anymore. As for converting, can you show us w...
by sniko
Mon Oct 13, 2014 11:59 am
Forum: Beginner Help and Support
Topic: Echoing Rankings in order with numbers
Replies: -1
Views: 1750

Re: Echoing Rankings in order with numbers

Or just do it all within MySQL SET @position = 0; SELECT username, family, strength, id, @position := @position + 1 AS position FROM users ORDER BY strength ASC Now for a little demonstration... Assume we have the following table, holding the following data; mysql> select * from users_power; +-----...
by sniko
Fri Oct 10, 2014 10:35 am
Forum: Beginner Help and Support
Topic: Echoing Rankings in order with numbers
Replies: -1
Views: 1750

Re: Echoing Rankings in order with numbers

Or just do it all within MySQL SET @position = 0; SELECT username, family, strength, id, @position := @position + 1 AS position FROM users ORDER BY strength ASC Now for a little demonstration... Assume we have the following table, holding the following data; mysql> select * from users_power; +------...
by sniko
Sun Sep 21, 2014 4:51 pm
Forum: Beginner Help and Support
Topic: Php blog from scratch ?
Replies: -1
Views: 1686

Re: Php blog from scratch ?

Don't use the PHP_MYSQL driver. It's been deprecated and will soon be dropped completely.

Two alternatives are;
by sniko
Fri Sep 19, 2014 6:54 pm
Forum: Beginner Help and Support
Topic: how to avoid cheating via the javascript console
Replies: -1
Views: 1525

Re: how to avoid cheating via the javascript console

uh oh wrote:That’s funny, I still find it a little hard to believe that all those huge html5 games out there are so ridiculously prone to hacking and cheating.
Are you implying they aren't in one way or another?
by sniko
Wed Sep 17, 2014 5:24 pm
Forum: Beginner Help and Support
Topic: HTML5 side scroller = parallex scrolling???
Replies: -1
Views: 927

Re: HTML5 side scroller = parallex scrolling???

Thanks OldRod for the information. I believe I will be using parallax scrolling for this. So my question is should I use some already made graphics rendering engine or just build my own? I have built a 2d rpg world rendering engine before so rendering engines but that was around 10years ago in vb6....
by sniko
Tue Sep 16, 2014 1:46 pm
Forum: Misc
Topic: Million ways to die in the west
Replies: -1
Views: 791

Re: Million ways to die in the west

It was a pretty awesome movie, but they didn't illustrate no where near a million ways to die, like the title suggests :lol:

Go to advanced search