Ygo's world About games, gaming and game development and coding in general

9Aug/140

mySQL trick for update/insert

I found myself often in the position of updating or inserting things in a database table. Writing the queries for such operations is a really tedious job, especially when the table have a lot of columns. Being a lazy creature I’ve decided to let the computer do half of my job and extract the columns […]

Filed under: Coding, mySQL, PHP, SQL No Comments
31Jan/130

Cookies not working?

Well, when you are working for so long with mvc’s and other libraries, one can forgot about the right syntax of row php code. Take for example setookie() which has the same number of arguments under Codeigniter. But the code copied from there didnt wanted to work. Why? Precious time loosed to the fact that […]