|
Posted by Dan McCullough on 12/09/05 17:26
I would hate to see a time clock that tabulated how many hours I
wasted with typos and stupid things like that.
On 12/9/05, Rory McKinley <rorym@nebula.co.za> wrote:
> Paul Jinks wrote:
> > Rory McKinley wrote:
> >
> >> Paul Jinks wrote:
> >> <snip>
> >>
> >>> <?
> >>> while($ouput_row = mysql_fetch_array($result)) {
> >>> ?>
> >>> <?=$output_row["projTitle"]?><br />
> >>
> >>
> >> <snip>
> >>
> >>
> >> Paul - is this the actual code that you are using? - because you have a
> >> typo in your while statement - $ouput_row instead of $output_row - means
> >> that when you try and echo $output_row it doesn't exist!
> >>
> >> Rory
> >>
> >>
> > Oh no. I can't believe it. That was it. An idiotic typo.
> <snip>
>
> I wouldn't stress too much - happens to me all the time (sigh) and
> (apparently) it happens to the best of us - but I am not qualified to
> comment on the veracity of that statement :).
>
> For future reference, during testing, you can set your error reporting
> levels ( i think) in php.ini to output a notice regarding a variable
> that does not exist - would have helped you spot the error! I normally
> use the Zend debugger which does quite a good job of telling me that I
> am an idiot :)
>
> Rory
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Navigation:
[Reply to this message]
|