Search found 19 matches
- Thu Dec 26, 2013 10:50 pm
- Forum: Beginner Help and Support
- Topic: $GLOBALS variables
- Replies: -1
- Views: 730
$GLOBALS variables
I hereby provide you another one of my problems: hehe I have this code snippet from selected_char_id.php : <?php include 'connect.php'; if(!isset($_SESSION)) { session_start(); } if(isset($_POST['select_character'])) { $details = explode(" ", $_POST['select_character']); echo "<br>&qu...
- Tue Dec 24, 2013 4:04 am
- Forum: Beginner Help and Support
- Topic: Get variable from drop down list
- Replies: -1
- Views: 749
Get variable from drop down list
Ok, so I have this tiny little code here: <?php include 'connect.php'; if(!isset($_SESSION)) { session_start(); } ?> <select name="title_select"> <?php $query = "SELECT DISTINCT char_title FROM titles"; $result = mysql_query($query); while($row = mysql_fetch_assoc($result)){ $tit...
- Tue Dec 24, 2013 3:52 am
- Forum: General Development
- Topic: if statement
- Replies: -1
- Views: 1006
Re: if statement
Oh wow thanks. It works now. It's not the first time i do this lawl
)
- Thu Dec 19, 2013 7:52 pm
- Forum: General Development
- Topic: if statement
- Replies: -1
- Views: 1006
if statement
I have this code snippet <?php include 'connect.php'; ?> <?php session_start(); $char_name = $_POST['char_name']; $dynasty_name = $_POST['dynasty_name']; if($char_name == "" || $dynasty_name == "") { echo "You didn't enter all the character requirements!"; echo "<a...
- Tue Dec 17, 2013 11:50 pm
- Forum: General Development
- Topic: Genealogy and Family history
- Replies: -1
- Views: 1151
Genealogy and Family history
Hello there. I am creating a game with a strong emphasis on Family Tree similar to Crusader Kings. How would such a database look like written in mysql? Where should I start? What columns should I focus on? Thanks in advance.
- Tue Feb 12, 2013 9:14 pm
- Forum: Beginner Help and Support
- Topic: Save button enabled state
- Replies: -1
- Views: 834
Save button enabled state
I have discovered a peculiar thing with my old enable/disable button issue. Code example: <?php print"<form name='buttons_form'>"; print"<input type='button' name='button1' value='ActiveButton' onclick='enable_button2()><br>"; print"<input type='button' name='button2' disabl...
- Thu Jan 17, 2013 7:38 pm
- Forum: Beginner Help and Support
- Topic: Disable or enable a button
- Replies: -1
- Views: 2789
Re: Disable or enable a button
Ok ran through the console you mentioned. Idk if i did this correctly, but i get one error. It says Uncaught TypeError: Object[objectWindow] has no method 'InvokeNavDocComplete' it also throws this line of code window.invokeNavDocComplete({url:"http://localhost/Fall_of_Mortals/military_research...
- Wed Jan 16, 2013 10:13 pm
- Forum: Beginner Help and Support
- Topic: Disable or enable a button
- Replies: -1
- Views: 2789
Re: Disable or enable a button
Don't bother guys. The entire code doesn't work. I tried and i fail. So let's try to solve the important part first. I tried to follow hallsofvallhala's specifications on how to build your code with ajax and this is what i got. The problem is that is doesn't insert anything into my table. Please tak...
- Wed Jan 16, 2013 11:53 am
- Forum: Beginner Help and Support
- Topic: Disable or enable a button
- Replies: -1
- Views: 2789
Re: Disable or enable a button
After i put everything in my head in order, i will try now to do everything above, Ajax style :D. Just for the sake of exercise. So what i am thinking and i hope is correct is to make the ajaxRequest.responseText to enable a button. My questions are. Is this thinking correct? What should i write in ...
- Sun Jan 13, 2013 6:48 pm
- Forum: Game Design
- Topic: Hints and tips on creating a browser base game
- Replies: -1
- Views: 9367
Hints and tips on creating a browser base game
Hello there! I am really into creating my own browser based game, but i am in a real need of some directions here. I followed hallsofvallhala's youtube tutorials like my own bible until my brother came one day to see what i got. Well, he was actually pretty impressed but he told me to check some des...