Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Coly010 last won the day on January 17 2017

Coly010 had the most liked content!

Community Reputation

15 Good

About Coly010

  • Rank
  • Birthday 06/04/1997

Personal Information

  • Location
  • Interests
    Programming both games and applications, 3D modelling, Creating
  • Occupation
    Student, Part time retail assistant
  • Website

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Whilst mysql extension is deprecated in higher versions of PHP, it's not preventing your script running. It's saying there is an error trying to set a default value to a TEXT column in the database. BLOB/TEXT columns cannot take a default value: http://dev.mysql.com/doc/refman/5.7/en/blob.html   The SQL needs to be changed to allow for this.
  2. Coly010


    It may not work depending how he retrieves the data from the database. I do think he'll need two loops, but I have a feeling he might need two database queries, depending how his database is set up.
  3. Coly010


    [MENTION=71663]IllegalPigeon[/MENTION] tl;dr I am still learning. All developers should be. My GitHub is full of things I did to help me learn. PHP is not the only language I'm limited to. Be careful how you criticise others. Some may or may not take it as lightly and could do something irrational. I feel I need to prove I'm not a "copy and paste coder" so what sort of challenge do I need to complete to satisfy you. Can you too prove you are not a copy and paste coder?
  4. Seems I'm getting a lot of bad press, so to keep other threads clean, here guys, you can go to town with your accusations and complaints here. Hopefully we'll get the majority of them ironed out but for those that are persistent, meh, give it your all, it's fun to bitch I guess.
  5. Coly010


    Public findings online do not paint a full or accurate picture. As someone who develops for the web I thought you would understand that. Ever heard the saying don't judge a book by its cover? Well I'm going to change it for this circumstance. Don't judge a person by what you find online. It's somewhat curious that you picked another php item from my GitHub, which is roughly a year old at this stage. I'm not limited to PHP as much as you are not limited to Laravel. And Laravel was not a stab in the dark. It was down to past conversations we have had about it. I haven't had an account in
  6. Coly010


    See this is where you are wrong. I'm not tryin g to come across superior. I'm trying to judge his level of knowledge. I'm trying to find out what he knows about php. Where his knowledge is and what topics he's covered. From there he can be directed to more specific help around the topic. From what I read I thought the OP wanted to know how to output the $counter variable, which is what I showed. As for the session error post. Kudos to me then if 25% is apparently plagarised, because it means at least 25% of what I typed is correct. Yay. The page loader? GG on taking that out of cont
  7. Coly010


    So just use echo $counter; ? I don't see what the problem is. Look it's simple.   $counter = 0; while(each hall of fame){ echo "<label id='accordion-".$counter."'>"; $counter++; }   This is basic php? Have you been using tutorials yet or still running here for every problem you face?
  8. Coly010


    Or use google... http://lmgtfy.com/?q=php+while+loop+counter You have so much to learn...
  9. If you want the really technical reason why it's because the server sent data with header data in it to the client via HTTP and then tried to send some more header data. First up. When you see an error from PHP regarding headers, it's not a bunch of HTML code that you reuse in all your views that show the banner. This is a common mistake for inexperienced developers. Headers are much more informative and powerful from a developers perspective but completely invisible to the average user usually. They can and will contain useful information. One of the most important pieces of data he
  10. I'll give you a base quote of £30/hr I spend developing it
  11. Coly010


    Php has this built in. Just look at the Date() method. http://php.net/manual/en/function.date.php
  12. Nothing wrong with an ASUS if you get the right specs along with it... What you're essentially trying to do is normalise your users table. But as for your "to the second" Abandon that idea. You're gonna kill the performance massively. Just use timestamps and run them at set intervals but have a fall back so that they don't need to run every 10 mins, every 5 mins, every min if no user is online, it'll do run the update as many times is needed for the game to catch up with itself. Next if you want jail/hosp to look like its counting in real time, pass the timestamps from the databas
  • Create New...