Sign up to connect with david.roun.7 and gain access to their complete profile
  • Member Avatar
    david.roun.7

    Marked Solved Status for javascript role playing game

    Hi all. I'm writing my first javascript game. It's a role playing game where the user fights an Ogre, and not elaborate at all. I'd like the game to end …
  • Member Avatar
    david.roun.7

    Replied To a Post in javascript role playing game

    Wow, thanks for the explanation and the code. This is exactly what I'm trying to accomplish and am thankful I'm at least on the right track. I'm going to do …
  • Member Avatar
    david.roun.7

    Replied To a Post in javascript role playing game

    Ok, is this better? <!DOCTYPE HTML> <head> <script> function ogreattack(){ var gameon=confirm("Would you like to fight an ogre?"); while (gameon==true){ var pmove=prompt("Do you want to stab, punch or run?"); switch …
  • Member Avatar
    david.roun.7

    Replied To a Post in javascript role playing game

    The game, and my site, is more of an attempt to get good at programming than anything else. This particular game is practice with Math.random and Math.floor as they relate …
  • Member Avatar
    david.roun.7

    Replied To a Post in javascript role playing game

    That's what I'd like to do, subtract from both based on the hp lost but I can't figure out how to do it. I figured out how to fix the …
  • Member Avatar
    david.roun.7

    Replied To a Post in javascript role playing game

    Here is the code with the math in it. <!DOCTYPE HTML> <head> <script> var life=100; var ogrelife=2000; function ogreattack(){ while (ogrelife>0){ var pmove=prompt("Do you want to stab, punch or run?"); …
  • Member Avatar
    david.roun.7

    Created javascript role playing game

    Hi all. I'm writing my first javascript game. It's a role playing game where the user fights an Ogre, and not elaborate at all. I'd like the game to end …
  • Member Avatar
    david.roun.7

    Began Watching javascript role playing game

    Hi all. I'm writing my first javascript game. It's a role playing game where the user fights an Ogre, and not elaborate at all. I'd like the game to end …
  • Member Avatar
    david.roun.7

    Stopped Watching SELECT result does not display data in full

    hello. I have a table populated by name. The names are links when clicked will pop up a form for editing. each input (for editing) is populated by the equal …
  • Member Avatar
    david.roun.7

    Replied To a Post in SELECT result does not display data in full

    try changing the size in your input box? You have it set to 50 characters. <label>Name : </label><input type='text' name='event_n' ***size='50'*** value='$name'>";
  • Member Avatar
    david.roun.7

    Began Watching Update Database

    Why is this code note updating the database???? <?php include '../connection.php'; $today = new DateTime('2014-7-14 20:10:10'); $appt = new DateTime('2014-8-15 20:10:10'); $days_until_appt = $appt->diff($today)->days; if ($days_until_appt>=30) { $sql = "SELECT …
  • Member Avatar
    david.roun.7

    Replied To a Post in Update Database

    Is it connecting to the database?
  • Member Avatar
    david.roun.7

    Began Watching web browser wont display my code

    Pease I need your help! I am very new in Php programming,I just downloaded wampserver on my system and also komodo for text editor.I launched komodo to place my text …
  • Member Avatar
    david.roun.7

    Replied To a Post in web browser wont display my code

    Have you checked to see if php is installed and running? If not, create this script and run it from your browser. <?php phpinfo(); ?>
  • Member Avatar
    david.roun.7

    Began Watching SELECT result does not display data in full

    hello. I have a table populated by name. The names are links when clicked will pop up a form for editing. each input (for editing) is populated by the equal …
  • Member Avatar
    david.roun.7

    Replied To a Post in SELECT result does not display data in full

    Check your database. Is the date column set to "date" and/or did you make it big enough to display what you want?
  • Member Avatar
    david.roun.7

    Replied To a Post in PHP user profile

    Here is a link to [Tutorial Point](http://www.tutorialspoint.com/mysql/mysql-update-query.htm)
  • Member Avatar
    david.roun.7

    Began Watching PHP user profile

    Hi guys, On my website that I'm creating I would like to add a personal profile. Where each user who is logged in can change their details, upload an profile …
  • Member Avatar
    david.roun.7

    Replied To a Post in PHP user profile

    There are a lot of tutorials out there. I used an "UPDATE" command on my site. For example: mysqli_query("UPDATE registration SET name='$name', dob='$dob', userid='$userid', sex='$sex', family='$family', describe='$describe', pic='$pic' WHERE name='$name'");
  • Member Avatar
    david.roun.7

    Began Watching help with relative paths to script

    Hello I am currently working on a "local" dev wordpress site, where I have a JS file stored with the path as e.g, http://www.devsite.com/websites/wordpress/mysite/wp-content/themes/mtheme/validations.js Currently, am using the relative path …
  • Member Avatar
    david.roun.7

    Replied To a Post in help with relative paths to script

    The best way to see if it will work is to try it. I don't think you'll have a problem with it because it is not pointing to the same …
  • Member Avatar
    david.roun.7

    Stopped Watching mysqli not breaking data

    Ok, so this is cool. On my site, I learned how to create a simplified "wall" like facebook has... sort of. It's great for me to have done that because …
  • Member Avatar
    david.roun.7

    Marked Solved Status for mysqli not breaking data

    Ok, so this is cool. On my site, I learned how to create a simplified "wall" like facebook has... sort of. It's great for me to have done that because …
  • Member Avatar
    david.roun.7

    Replied To a Post in mysqli not breaking data

    Got it. Here is the final php code. I needed to open and close the <option> tags in the loop. Thanks for the idea, as you can see I incorporated …
  • Member Avatar
    david.roun.7

    Replied To a Post in mysqli not breaking data

    No, still showed rountest instead of roun test
  • Member Avatar
    david.roun.7

    Replied To a Post in Show .php files before $_SESSION

    It seems t me that you can't use the session like you want. Can you just put a link to what you want and use that to create the session? …
  • Member Avatar
    david.roun.7

    Stopped Watching want to save image in folder

    <td>Upload your pic</td> <td><input type="file" name="1234" value=""></td> <?php $img =$_POST['1234']; $sql="UPDATE users SET FirstName='$FirstName' , LastName='$LastName', UserName='$UserName' $sql_pass,Email='$Email' , Gender='$Gender',PicUrl='$img' WHERE UserId='$User_ID'"; ?> want to save in image folder also
  • Member Avatar
    david.roun.7

    Began Watching Show .php files before $_SESSION

    I want to be able to show some .php files before the user logs in I know that the reason we do the session is for ones who are users …
  • Member Avatar
    david.roun.7

    Replied To a Post in Show .php files before $_SESSION

    Are you asking to show data in the session before you enter the data? I want to be able to show some .php files before the user logs in I …
  • Member Avatar
    david.roun.7

    Created mysqli not breaking data

    Ok, so this is cool. On my site, I learned how to create a simplified "wall" like facebook has... sort of. It's great for me to have done that because …

The End.