Page 3 of 13

Re: Video #4

Posted: Tue Jun 09, 2009 6:39 pm
by hallsofvallhalla
where were the mistakes at?

Re: Video #4

Posted: Tue Jun 09, 2009 6:47 pm
by Noctrine
I fixed them, and indented the code. Every time you echo'd off an anchor tab you didn't close the href bit with an apostrophe. You also didn't close the tags. Also, make sure he is using a Doctype as well. That SHOULDN'T have caused any errors, but you never know with IE.

Re: Video #4

Posted: Tue Jun 09, 2009 11:25 pm
by hallsofvallhalla
how the heck did i miss that? WTF is wrong with me? I should be shot for that, no beat then shot. I can no longer call myself a coder..seriously. What a stupid mistake.

Re: Video #4

Posted: Tue Jun 09, 2009 11:28 pm
by Raven67854
Haha there there halls. People make mistakes all the time. Nothing to worry about :).

Re: Video #4

Posted: Sun Jun 14, 2009 11:44 pm
by Socapex
funny it took so long to figure out, :)

Re: Video #4

Posted: Mon Jun 15, 2009 1:00 am
by hallsofvallhalla
actually i was just goofing on myself, I have a game in beta, these videos, plus 2 websites to take care of.....yeah it takes a bit for me to keep up :)

Re: Video #4

Posted: Mon Jun 15, 2009 1:01 am
by Raven67854
#Halls
Ahh you'll be ok :P. Also yeah hurry up on the next video.

Re: Video #4

Posted: Mon Jun 15, 2009 2:07 am
by hallsofvallhalla
tomorrow night!

Re: Video #4

Posted: Tue Jun 16, 2009 3:02 am
by Socapex
Ok, so I've been through this vid, and I'm quite happy about it (again). I can already see how I already could deepen this a whole lot. It's good in a way (meaning your explanations are great) but also that it's been done quite alot. We could all (try to) make a text D&D right now if we really want to... do we? :)

For what I'd love to see, a scrolling world map!? Yes it seems there are absolutly no tuts on this, either with javascript or ajax (gotta be carefull for the server with that one) or maybe something else? If you continue in this direction, I'd eventually love to see a map system built up. I don't want to be selfish here or anything, I'm sure any type of input from the followers is good. The whole potion and stuff idea seems nice, though as I posted in the genre thread, I'm more into global fighting (rts and strategy stuff, with guilds and alliances).

Now for the technical parts, I've been having a little trouble understand your three part querys...

For example:
$isaddress="SELECT * from players where email='$email'";
// So basically your speaking english in a programming language!? I mean, this is a human phrase there... is that php or mysql language/data your writing?

$isaddress2=mysql_query($isaddress) or die("Not able to query for password");
//Don't understand :/ So basically $isadress2 is becoming every entry that matched $email ?

$isaddress3=mysql_fetch_array($isaddress2);
// Now your fetching everybody that the email address matched in the first line???

Wow I'm lost here, and I do realize this is the key to all your vids. If anybody here can enlighten me on this process. I currently feel it as un-logical, or more likely un-connected... I can't understand it right now, and understanding is the key also :)

So, this was a long message. Thanks alot for all your vids. Hope to see some new ones quite soon!
Socapex

Re: Video #4

Posted: Tue Jun 16, 2009 3:12 am
by hallsofvallhalla
first things first
$isaddress="SELECT * from players where email='$email'";
// So basically your speaking english in a programming language!? I mean, this is a human phrase there... is that php or mysql language/data your writing?
basically they just made the query easy to do. No point in complicating things even more, its php calling mysql.
$isaddress2=mysql_query($isaddress) or die("Not able to query for password");
//Don't understand :/ So basically $isadress2 is becoming every entry that matched $email ?
this made me wonder in the very beginning too. $isaddress2 is calling isaddress as a query. isaddress is just a variable holding all that is between the quotes. so basically the second line looks like this

$isaddress2=mysql_query(SELECT * from players where email='$email') or die("Not able to query for password");
$isaddress3=mysql_fetch_array($isaddress2);
// Now your fetching everybody that the email address matched in the first line???
it is turning the data retrieved into a variable.