Quote:
Originally Posted by gilgalbiblewhee
I forgot to change $query to $sql.
|
no problem, no ones perfect, no one that I know never ever makes mistakes unless they don't try anything, are aliens or just plain liars.
but what have you learned from this?
have you developed any debugging strategies
Google
as it happenms I reckon the mistake was pretty trivial, and pretty trivial to find. to succedd as a PHP developer you need develop your own line of debugging strategies
you need to understand what to look for
youneed to work out how to eliminate errors. bear in mind its not just compile errors its alos logic errors.
the or die contruct is usefull
stuffing values into a debug variable and then showing that helps.