Jump to content

reportingsjr

Members
  • Posts

    1,183
  • Joined

  • Last visited

Everything posted by reportingsjr

  1. I have no clue what you are trying to do, so this is a guess. It seems to me like you want to display all of the topic names in links and make it so you can click the link to view the content. do this for the links: <?php$links_query = mysql_query("SELECT * FROM `book` ORDER BY `Cid` DESC");while($links = mysql_fetch_object($links_query)){ echo "<a href=\"other_page.php?topic={$links->Cid}\">{$links->Topic}</a><br />";}?> That should print out a list with links. Other_page.php: <?phpif(isset($_GET['topic'])){$topic_content = mysql_fetch_object(mysql_query("SELECT * FROM `Book` WHERE Cid = {$_GET['topic']}"));echo "{$topic_content->Topic}<hr />{$topic_content->Content}";}else{//do something if they havent selected a topic}?> Viola! that should work..
  2. Ah, you are treying to do it so you can have several different things of content on just one page. you are close! Here, use this one: <? if(isset($_GET['page'])){ include("{$page}.php"); }else{ include"news.php"; } ?> At least thats what I would have used.. Or you can just do if($_GET['page'] == "link"){ include("link.php");}
  3. No, you cant change anything about the title attribute except for the text displayed. Later you will be able to style it with CSS. But im not sure how long that will be!
  4. To abstractapproaches reply, we are talking about web languages. X86 assembly is for basic machines and such. You buy little chips and program them with assembly, I think assembly has about 30 functions and things you can do, thats it.
  5. Cougar!! ArgghhhYou never know, maybe we could get a bunch of people to make bombs X-D.
  6. A cougar .Darn if we mess up, we gut up or stay down! Its that simple!
  7. Dunno, yeah it is alot. Would take alot of time to re-read all of this stuff X-D. I bet we will be able to travel through galaxies. I dont really like that quote you added. Not very good to say. But hey! Thats just me!!
  8. Or, you can use the way easier version: $str = nl2br($_POST['textbox']);
  9. How would you manage to do something like that?
  10. google fopen(), fget(), and fwrite(). Those and the other needed functions are usually all in one tutorial.
  11. Wow, if you dont know, 450 pK is .45 K (low). So they have .45 kelvin to go down before they can get to 0! it is believed that 3-4K occurs naturally in deep space.
  12. Oh but it can. So anyone think absolute zero is reachable? Im going with yes..
  13. Oooh, ahh! Ive always wanted to do that.. really. Sounds freaking awesome.Anyone see that thing about mars? They found newer deposits of something in a place where they werent before. So water?
  14. It is an adventure! Just think, you can jump higher than Michael Jordan X-D.
  15. Looks freaking awesome. Go shoot it straight up now!
  16. Potato gun.. I want to build one!
  17. No, because if he used a jet pack he would fly off the moon. That = no good. Why would he be fixing a gasket . But I wish I could just live in space!
  18. How cool would it be to live on the moon? I wish I could go on that trip!!
  19. reportingsjr

    PHP Tutorial

    Wow Zachary, what was the point of that? I mean.. god. Well, I give you a 0/45 in that case. Because you tried to fix his and STILL mispelled a word. You figure it out.Maybe the php tutorial should have a gd image tutorial?
  20. I dont know what you are talking about, steve does though. No their are no pointers in php though. Im pretty sure those are only supported in C and C++.
  21. See, their muscles wouldnt turn to jello! Their stomachs would..
  22. reportingsjr

    Current Time

    Or it could be that you are setting the mysql column type as timestamp. That would do it.
  23. ###### yes!! Pulp, I've been meaning to ask you this: Did you base your name after the movie?"I call this Preperation H, "laser" "Beam"" - Dr. Evil:)http://antwrp.gsfc.nasa.gov/apod/ap061212.htmlSounds like the water on Mars it true!
  24. Exercise a bunch! :)Wonder when this will hit 10 pages. :)More talk!
  25. Err.. make.. gravity? You never know..
×
×
  • Create New...