Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 09 Jul 2014
Offline Last Active Oct 02 2014 07:02 PM

Posts I've Made

In Topic: Arrays & SQL

18 September 2014 - 11:34 AM

Another option is to have a table for the map, with a key composed of the x and y position, and the remaining columns indicate the content of each map cell. Whether this makes sense for you depends on what your project is and how you want to use this map.


Yeah I thought about doing that, but I figured there could be an easier way to do it; like, I had a feeling. 

In Topic: Arrays & SQL

17 September 2014 - 12:59 PM

There are various ways to turn an array into a string with PHP.


You can use serialize and unserialize functions (I've never used them, but should work ok). I guess seralize doesn't return something readable by humans.



I did this and it worked! Thanks! Apparently, the only problem I was having was actually storing the serialized string because the SQL DB kept truncating it. I didn't know you could increase the size of char and varchar, I thought it's max size was 255. Anyway, this fixed the problem and now everything is going smooth, thanks Diego! 

In Topic: Whats the point in hobby game programming?

16 September 2014 - 07:53 PM

I don't know about turning it into a career since, as many people in this thread seem to say, it all depends. However, I've been doing it for a hobby for years now and it does add a decent amount of pocket change to your bank account. I think you can make a career out of it as long as it is like indie stuff and eventually turn it into a AAA type career.  

In Topic: Web Programming Proffession [ Need Advice] -

29 July 2014 - 02:22 PM

Wow, thanks for all the responses guys.  smile.png


I think I'll just stick with Front End since that's my weakest point and learn something like Ruby/Django concerning backend about every other day/week. I already know a bit of PHP so I'm going to try to broaden my horizons with ruby or the python language.

In Topic: Web Programming Proffession [ Need Advice] -

29 July 2014 - 08:12 AM



I have just one more question, since you are strong in python and have done web development, do you see Django taking over PHP in the future? I worked for a web team at one point and the tech. lead kept telling us that PHP is being fazed out for other languages like Django or Ruby on Rails. I'm just asking to know if PHP is really something I should learn.