what do i do!!
Moderator: General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
See all your errors by putting:
At the top of your PHP code.
Code: Select all
error_reporting(E_ALL);If you're unwilling to learn, yes. If you believe I do it out of pleasure: no, not really. I'm doing so you can ask more precise questions. Once that's achieved, you will contribute to the quality of the questions asked on this board. And that's my main concern.gaogier wrote:are you going to find all my past topics and critise them?
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Can I suggest trying some of the basic php tutorials at Spoono here:
http://www.spoono.com/php/tutorials/
They actually have some that cover things you are struggling with too. They have some great little beginners scripts to play with and all you need is http://www.php.net/ to look at alongside it - no books, just basics
http://www.spoono.com/php/tutorials/
They actually have some that cover things you are struggling with too. They have some great little beginners scripts to play with and all you need is http://www.php.net/ to look at alongside it - no books, just basics
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
I tell you what... when I started out writing PHP I kept forgetting things too, and some things totally confused me (arrays - multidimensional ones
). I just kept grabbing little bits of code, writing little snippets all hours and constantly referring to the manual. (yeah ok, I kinda got hooked
).
After a while, not doing anything particularly productive, just playing around, it started to sink in. I still constantly refer to the manual - that's nothing to be ashamed of, that's why it's there. Essentially... if you try doing little things until you understand them... and don't move on until you grasp the basics it all falls into place, just enough to start on something a little bigger.
You'll probably get what you want done faster if you put it down, play around and learn the basics, then come back to it, rather than halting at every error message you hit
After a while, not doing anything particularly productive, just playing around, it started to sink in. I still constantly refer to the manual - that's nothing to be ashamed of, that's why it's there. Essentially... if you try doing little things until you understand them... and don't move on until you grasp the basics it all falls into place, just enough to start on something a little bigger.
You'll probably get what you want done faster if you put it down, play around and learn the basics, then come back to it, rather than halting at every error message you hit