Jump to content

astralaaron

Members
  • Posts

    1,254
  • Joined

  • Last visited

Everything posted by astralaaron

  1. I need to be able to strip out everything inside of a <td id="abc"></td> except for an anchor tag... for example: <td id="abc"> <a id="a1" href="">test</a><b>asdf</b>qwert qwert<b>werq</b>qwert</td> needs to become <td id="abc"> <a id="a1" href="">test</a></td> really appreciate any help
  2. I am curious...why does this work?
  3. You could make your menu div position:absolute; top:0; left:0;, make sure it is z-index: above the header div.
  4. I tried out your css and it worked perfectly fine.
  5. if(!isset($_GET['q']) { in this line of the code there is a missing ")" : it should be: if(!isset($_GET['q'])) {
  6. theres $i++ and $i-- $i+- seems like it would just remain the same if it did exist :-)
  7. http://www.w3schools.com/php/showphp.asp?filename=demo_operator_comparison
  8. variables in php are preceeded by a dollar sign. $total = score + score1; should be $total = $_POST['score'] + $_POST['score2']; I believe it is good practice to set the $_POST array into variables though, so it can be this as well: $score1 = $_POST['score']; $score2 = $_POST['score2']; $total = $score1 + $score2; $_POST[$total] should just be $total
  9. answered on one of your other two threads about this: http://w3schools.invisionzone.com/index.php?showtopic=48376
  10. It is the background image of .center_content_pages_original that is sticking out. .center_content_pages_original { background: url("../images/center_bg_pages.gif") no-repeat scroll center top transparent; clear: both; margin: auto; padding: 20px 0 10px 10px; width: 960px; }
  11. Your code has this: <ul><li><a href="#">Home</a></li></ul><ul><li><a href="#">Sample Page</a></li><ul><li><a href="#">My Page 1</a></li><li><a href="#">My Page 2</a></li></ul></li></ul> the problem is right here: <li><a href="#">Sample Page</a></li> just remove that list item, the drop down list needs to be inside of it.
  12. Appreciate it, looks like I have some reading to do! :-)
  13. Does anyone know where a well written, easy to follow tutorial can be found to learn how to use indexes to create faster search queries?
  14. Is there any way in SQL to change which field is the primary key? Then also drop the field from having a primary key? Thanks in advance. I should probably add I am using Access database at the moment... DROP INDEX indexFIeld ON Table1 doesn't seem to work
  15. Nevermind, one of my other functions was removing the = sign.. thanks anyway
  16. I am trying to send across a url like this one for example http://www.youtube.com/watch?v=0wutKVitWCA through $_GET the = sign is vanishing, I've tried urlencode / urldecode ..the weird thing is it worked the first time...now every time the = sign dissapears. any advice?? thanks
  17. astralaaron

    PDF

    Is the PDFlib library normally included with PHP installation? Please point me in the direction of a basic example of creating a PDF file.
  18. Is there a way to change stylesheets with javascript that works on IE? changing the href by setting an ID to the <link rel="stylesheet"> only works in firefox, I also tried creating a new link element and appending it to the head of the document but it also works in firefox only..
  19. That works, you can also use the callback to make them fire off one after eachother with a timeout for the delay
  20. I don't see the problem , did you try and echo out the file path to make sure it is correct right before you try to copy the file into the folder?
×
×
  • Create New...