Jump to content

reportingsjr

Members
  • Posts

    1,183
  • Joined

  • Last visited

Posts posted by reportingsjr

  1. I do beleive that when you put overflow-x: hidden; that you wont be able to see the content that is past the side, like the part that used the scroll bar..

  2. there are easier ways lol.. heres what I did for mine:

    width: 500px; height: 200px; overflow: auto; overflow: auto;

    mine never has a bottom scroll bar, but you have to set the width and height

  3. Using <?php include "test.inc"; > is not wrong.<?php echo $test1 $test2 $test3; ?> is wrong. But probably it was made when typing the post.See if the test.inc is in the same folder as the script (as reportingsjr said), see the error log for warnings/errors if they are not shown on the page.Btw, if I would just type in the browser "www.site.com/test.inc" I would see all your code! Rename it to test.inc.php for example.

    how is <?php echo $test1 $test2 $test3; ?> wrong? it needed to have the semicolon to define that it stopped in the first one..
  4. Okay, right now Im trying to create and online text based game. Im having this issue though:I have and inventory slot and the user can put items in it.. but its stored in a MySQL database. I would like it to be 4 columns wide and 7 rows long (there are 28 'slots'). I cant figure it out but here is the coding I have so far.. Its way wrong lol.

    if(mysql_num_rows($result)>0){echo "<table>";for ($col = 1; $col < 5; $col++) {if($col<5){echo "<tr>";echo "<td>" . $row[' . "</td>";echo "";echo "";echo "</tr>";}echo "</table>";}

    Im sure this isnt too hard and im just be ignorant but now I have to go to bed. Thanks for looking!

  5. Is there a JAVASCRIPT function or something that can make like a little box by the browser when you right-click something? such as when you are at you desktop and right-click it brings up that little box with properties and stuff.thanks!

  6. wow, I think I can figure out how to set it to my stuff but wow.. thats awesome! (go make that sniper game now!). Ill show you (only you) how t turns out in my game.

  7. Well, do you know mysql? if so here is some script for doing it:Hold on.. im busy programming my own stuff lol :)Ill make it for you in a few..EDIT: wont make since person knows stuff..

  8. yes you could make a freaking awesome sniper game with that! Im going to start on the coding for the game actually now. :) Before I had it all set up but the playing part, and I was getting ideas for it. Time to start :):) . Just kind of ignore my PM, I sent it right after you posted I think. Tahnks for the help! Could you code it so it goes like 10 pixels each click instead? thats the way I need it..Yea.. im not really sure on much any of it lol. like the clip thing? I dont know javascript, just read over the tut. a few times. Im probably going to go learn it soon(once schools out in 7 days!!).

  9. Well, im trying to create a text-based game.. and I need it to go through a login page, then it goes to the play.php page. I would like it to display the persons name.. sorry, I meant the get superglobal..so the form has already ben used. do I really have to use a session? If so ill just do it quickly now..

×
×
  • Create New...