Jump to content

reportingsjr

Members
  • Posts

    1,183
  • Joined

  • Last visited

Everything posted by reportingsjr

  1. I was wondering.. what happened to the admins? it looks like they created, made a few post and left for good! I dont think that is very good admins, and we cant have any more mods for w3schools growing community...just wondering, thanks!
  2. rofl.. yea, I guess saving it as text and importing would be asy enough, but 200 pages 0.0
  3. reportingsjr

    Auto links

    well, you could do it his way.. but if the href has a special name or the file has to then just do it my way..[*EDIT] lol SFB, now he has two solutions instead of one. better for everyone!
  4. reportingsjr

    Auto links

    actually thats very easy... $month=date('n');if(month == "1"){echo '<a href="www.site.com/month1">month 1 activities</a>';}elseif(month == "2"){echo '<a href="www.site.com/month1">month 2 activities</a>';}elseif(month == "3"){echo '<a href="www.site.com/month1">month 3 activities</a>';}elseif(month == "4"){echo '<a href="www.site.com/month1">month 4 activities</a>';}else{} I think you get the picture.. date('n') shows the number of the month, starting with january.. so whatever month it is just check out the number for it..to learn more about date() check out this:http://www.w3schools.com/php/func_date_date.asp
  5. wow, something is wrong with it in ie lolthe top isnt round, and its about 3 inches high..
  6. reportingsjr

    scroll bar

    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..
  7. I would use php for searches...
  8. reportingsjr

    scroll bar

    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
  9. I see.. never done that with the variables before.
  10. What do you want to do? do you want it so there is a notes thing and other people of a certain group can see it or what?
  11. how is <?php echo $test1 $test2 $test3; ?> wrong? it needed to have the semicolon to define that it stopped in the first one..
  12. lol, thats not code at all. the gradient it a picture.. nice lie..
  13. wow, dan! you are awesome.. I swear, you and scott have solved every single problem thing for my game so far
  14. ...you have some things wrong "next page" <?php include('test.inc'); ><html><head>....<body><p><?php echo $test1 $test2 $test3; ?></p></body> also, if the include is in another folder, say http://site.com/files/other, and new page is in http://site.com/files you need to have the include be include('other/test.inc');
  15. 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!
  16. yea, man, I need like 100 things doe for this that I cant figure out..
  17. Bags, I meant a javascript function I am working with MySQL a TON right now and that was on my mind. ill change it..
  18. what do you mean about the sql scott? lol.yes thats what I mean scott...
  19. 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!
  20. actually that is what they do.. but they dont show you the page.. *its a secret!* I have something just like this for my site.
  21. 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.
  22. Yea.. scott, you got the thing done yet?
  23. 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..
  24. um... javascript is a client side, why do you want it to be server-side anyways?
  25. How does this forum do that? Like in the corner it says your name.. is that by sessions?
×
×
  • Create New...