Jump to content

Maq

Administrators
  • Posts

    9,363
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Maq

  1. Can't believe I didn't notice that. Anyway... This document was successfully checked as XHTML 1.0 Transitional!
  2. Does the hidden advertisement feature remain even when your donation has expired and are moved back to Member status?
  3. When I click on that link I get a blank page... Maybe that's why it validates, lol.
  4. Still does not validate. I was looking through and you have some clumsy mistakes but easy to fix. Also half of them are META errors.
  5. Post your entire script.
  6. -Doesn't validate. -IMO, it should be centered.
  7. Don't know if this will work (not tested) but it should give you an idea of how to limit the links to 5. $x=0; $files = glob("*.html"); array_multisort(array_map('filemtime', $files), SORT_DESC, $files); foreach ($files as $filename) { echo "".$filename." "; $x++; if($x==5) { break; } } ?>
  8. Yes I believe you can. imagegrabwindow may be helpful.
  9. There's probably an easier way but... $d = getdate(); $len = strlen($d); $n = ""; for($x=0; $x { $n .= "*"; }
  10. You can use javascript. You can check where the user came from using document.referrer. You will have to play around with it and come back with a specific question. There may be an easier way but not to my knowledge.
  11. 1) You should be using if(!isset($_POST['your_name'])) Not: if(!$_POST) 2) To turn error reporting temporarily on put this at the top of your script. ini_set ("display_errors", "1"); error_reporting(E_ALL);
  12. register_globals is a problem within itself.
  13. You can do this multiple ways. But the easiest for me would be to use the double quotes for the entire string and single quotes for the strings that you're updating. Of course you could escape but I personally don't like to do that. If you put {} around arrays it won't cause any errors in your string. I haven't tested this: mysql_query("UPDATE eqdkp_members SET member_attendance = '" . $percent_of_raids . "' WHERE member_name = '" . {$row['member_name']} . "'") or die (mysql_error()); side note: Try debugging sql statements by using the or die (mysql_error()); at the end. I bet if you put this at the end of your current query it will throw an error...
  14. Yes there is. Can we see the code of insertion so we can give you specific help?
  15. Please post the exact error and the current code you're using.
  16. I think you want to use the $_GET method. What does your URL look like? And why do you keep opening and closing PHP tags when all you're using is PHP? Ex: www.yoursite.com?your_var=services $url = $_GET['your_var']; if ($url == "services" ) { include("servicestext.php"); }elseif ( $url == "work" ) { include("worktext.php"); }elseif ( $url == "travel" ) { include("traveltext.php"); }
  17. But if it's true, then it should go to the URL I put in with the $_GET attributes not the empty ELSE option...? I thought you said it was redirecting...
  18. If it's true it redirects and that's it. Nothing else will be executed.
  19. Like thorpe said, unchecked boxes should not show up. But you could do something like this. foreach($array as $key => $value) { if($value == "") { unset($array[$key]); } } $new_array = array_values($array);
  20. I see. Thanks for the explanation!
  21. mod_rewrite
  22. No, I don't think you do. Easiest survey I've ever taken.
  23. Same here... :-\
  24. Oh, lol
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.