Search found 178 matches
- Fri Dec 20, 2013 6:34 am
- Forum: General Development
- Topic: if statement
- Replies: -1
- Views: 347
Re: if statement
Assuming id isn't binary, try using %d instead of %b.
- Wed Dec 18, 2013 11:03 am
- Forum: General Development
- Topic: Genealogy and Family history
- Replies: -1
- Views: 468
Re: Genealogy and Family history
Running queries on that type of structure is a pain, though, so you'll probably need to use some sort of trick (breadcrumbs, for example). Depending on the actual requirements, of course (can't remember what the tree was like in Crusader Kings).
- Mon Dec 16, 2013 11:40 am
- Forum: Beginner Help and Support
- Topic: Chrome Dev tools & visibility:hidden
- Replies: -1
- Views: 1768
Re: Chrome Dev tools & visibility:hidden
Have you tried display:none?
- Mon Dec 02, 2013 10:15 am
- Forum: Announcements and Site Discussion
- Topic: First tic tac toe AI contest
- Replies: -1
- Views: 3982
Re: First tic tac toe AI contest
Here's a try /* Returns the current game position. Turns cell value of 2 (user AI) into -1 for easier negamax stuff. */ function getPosition() { var position = []; var cellType = 0; for( var x = 0; x < 3; x++ ) { for( var y = 0; y < 3; y++ ) { cellType = gridCell( x, y ); if( cellType === 2 ) { cell...
- Sat Oct 26, 2013 6:54 pm
- Forum: Off-Topic
- Topic: Only One game forever
- Replies: -1
- Views: 1118
Re: Only One game forever
Probably StarCraft: Brood War. I still play it every now and then.
- Fri Oct 25, 2013 2:32 pm
- Forum: Beginner Help and Support
- Topic: Span Troubles
- Replies: -1
- Views: 904
Re: Span Troubles
What I mean with the quotes is this
The protect function is not good here because of the mysql_real_escape_string and stripslashes.
Code: Select all
<input type="text" value=This does not work />
<input type="text" value="This works just fine" />
- Fri Oct 25, 2013 8:03 am
- Forum: Announcements and Site Discussion
- Topic: Logo Contest!
- Replies: -1
- Views: 6596
Re: Logo Contest!
I like the "tetris blocks". Nice retro vibe.
- Fri Oct 25, 2013 7:26 am
- Forum: Beginner Help and Support
- Topic: Span Troubles
- Replies: -1
- Views: 904
Re: Span Troubles
You're using urlencode wrong. Drop it and the underscores. Instead, wrap the value in quotes and do htmlentities or something. Then, before you save into db, do html_entity_decode.
- Thu Oct 24, 2013 6:11 am
- Forum: Advanced Help and Support
- Topic: Rows Not Existing
- Replies: -1
- Views: 1386
Re: Rows Not Existing
Is there a difference between a bus, a taxi and a car or are they all the same from a gameplay point of view?
- Thu Oct 24, 2013 5:58 am
- Forum: Beginner Help and Support
- Topic: Bypassing
- Replies: -1
- Views: 314
Re: Bypassing
You're displaying the button before you're checking for the "click" (submit). Switch them around and do some checking for success/failure.