Jump to content

Jessica

Staff Alumni
  • Posts

    8,968
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Jessica

  1. Which makes perfect sense - as long as he's really not expecting any other value other than 3. In which case why wasn't the original code if($page==3) instead of that weird greater than/less than combo?
  2. What exactly is so funny?
  3. I didn't see that he was using the array there. (That's why you need to explain what's actually wrong, so we don't go chasing wild geese)
  4. Between lines 13-14 you need to call bindValue to replace your placeholder with a value. In the future when you ask for help, you need to explain more than just the fact that something somewhere is wrong.
  5. Are you just trying to say 3, or is there a possibility that $page could be 3.5 or something?
  6. If you don't know the basics of doing a loop in PHP, then yes you are a newbie. It's kind of one of the most basic things you can learn.
  7. Did you stop the process through Xamp? When you shut down your computer it should stop.
  8. Well that is a different question isn't it?
  9. You're calling the fetch function twice. The first time you never do anything with the result.
  10. You added an empty div? Yes, that's bad coding.
  11. Your string ends with " AND ". Not "AND".
  12. Edit: didn't realize there was a page 2, ignore me.
  13. For a few reasons - one is that one of our steps involves checking an email account to see if the email was recieved. The step automatically waits 30 seconds. However it doesn't output to the screen that it's checking email until after it's passed or failed, so when we are manually running the tests and watching, it sits for 30 seconds with no output. We wanted to add a simple message that says "Waiting for 30 seconds before Checking Email".
  14. Did it work? (You should pick aliases that mean something. Probably also add in an ORDER BY dailyMasterLogs id, so you can output them easily. For more on that see my tutorial here: http://thewebmason.com/tutorial-parent-child-lists/)
  15. DO WHAT? Is your question as simple as how do I select my data from my database and output it in HTML? Is it more complex? WHAT are you trying to do with CODE?
  16. The script is too old to run on the version of PHP you're using. It's also encrypted. You can easily decrypt it, but probably not much point in doing that.
  17. With code. We don't write code for you here. You have to make an attempt. Your question is equivalent to asking someone "how do I use my computer?" There's a million questions following that. What kind of computer? Use it to do what? Etc etc
  18. I also don't think someone with 250+ posts here can call themselves a newbie.
  19. With what? You've posted no code, no description of what you've tried...
  20. Really? $max = 4; echo '<select>'; for($i=1; $i<=$max; $i++){ echo '<option value="'.$i.'">'.$i.'</option>'; } echo '</select>';
  21. A way to do what? What exactly are you trying to do, with what code, and what is not working? We don't need to see all of your HTML.
  22. http://css-tricks.com/snippets/jquery/horz-scroll-with-mouse-wheel/ http://www.smoothdivscroll.com/#quickdemo http://plugins.jquery.com/?s=scroll
  23. Using behat to run some tests - if I add an echo within a step, or echo in my afterStep() function, I don't get the message until all the steps are done running (so if afterStep() has echo 'test'; at the end I get testtesttestest etc.) I can't find anything on google about this, I see examples where people are doing an echo within their steps, but I can't get it to work. Any ideas?
  24. Did you include all of those headers? Both of those things are covered
×
×
  • 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.