If you were following up, I was confused as to which framework to choose. So, what did I do? I decided to try my luck and build something small from scratch!
I know, I am not experienced enough to make anything from scratch but I came to this decision after trying out and giving up on different frameworks like CodeIgniter, CakePHP and Zend! I thought I should build a small project and then try to use the frameworks. Random decision!
So, after equipping myself with enough knowledge and some sources on net, I started writing the code. Everything went well for the first 20 minutes or so. After that, nothing worked.
The first problem which came was that mysql_query function was returning false, every single time! I don’t have any clue as to why that was happening. But here is one fact which startled me. Whenever I used to hit refresh, it worked. But if I bring some changes to code. It stopped working and then started again after a refresh. Pretty weird. But then, that issue got resolved just by (accidentally) putting one empty line above that query line. I searched the net thoroughly but in vain. Never heard this issue before, don’t know why it came and why it had gone.
After that, the code started working for 5 minutes and then it broke again! I tried to call an Abstract method of an Abstract calling from the sub class but it just didn’t work. Here is the link to question on stackoverflow. Could anyone help me with this? I’d be really grateful!