Page 12 of 13
Re: Video #4
Posted: Tue Jan 04, 2011 10:20 pm
by hallsofvallhalla
good catch...seems spelling gets the best of all of us

Re: Video #4
Posted: Tue Jan 04, 2011 10:38 pm
by Jackolantern
Jeez I had to stare at that for about 2 minutes to see the difference. Good catch!
Re: Video #4
Posted: Wed Jan 05, 2011 1:29 am
by hallsofvallhalla
haha same here!
Re: Video #4
Posted: Wed Jan 05, 2011 1:33 am
by pretender5552
Ah I feel dumb now, thanks that fixed it
Re: Video #4
Posted: Wed Jan 05, 2011 3:51 am
by djand3y93
Nice..this is the first time here when I help somebody and the feeling is ... God...too good

Re: Video #4
Posted: Wed Jan 05, 2011 4:31 am
by Jackolantern
djand3y93 wrote:Nice..this is the first time here when I help somebody and the feeling is ... God...too good

It can be pretty addictive
EDIT: As far as the issue itself, our minds are wired to see what we expect to see to an extent. That is why having other people see your code is so important. Even though it is old now,
this article really shows that in practice. It is the same with code. You aren't actually reading every letter of the code, and instead you are skimming it, thinking you are seeing what you expect.
Re: Video #4
Posted: Tue Aug 16, 2011 3:28 pm
by MaraXus
Hey guys, I just started on this tutorial today, and I am already having a problem... (Completely my fault, i'm sure

)
This is the message.
( ! ) Notice: Undefined index: name in C:\wamp\www\tutorial\battle.php on line 36
Call Stack
# Time Memory Function Location
1 0.0006 685448 {main}( ) ..\battle.php:0
Hit points = 15
Attack = 5
Defense = 5
goblin
Hit points = 5
Attack = 3
Defense = 3
so, if I just copied everything off of the code in the first post, what could be wrong? I did everything else that you said, but I still have this showing up.
Re: Video #4
Posted: Tue Aug 16, 2011 4:11 pm
by hallsofvallhalla
pretty hard to tell if you do not post your code but I would say check
echo "<u> " . $playerinfo3['name'] . "</u><br>";
and then make sure that matches your database
I also recommend you watch all the way to at least video 14 then begin to do the code. Trust me .
Re: Video #4
Posted: Tue Aug 16, 2011 6:48 pm
by MaraXus
I had already checked that, and it was right. What code should I post? And I will watch your vids until I can figure out this problem

Re: Video #4
Posted: Tue Aug 16, 2011 6:52 pm
by MaraXus
Never mind, I figured it out... (Stupid Caps lock )
