Jump to content

Jessica

Staff Alumni
  • Posts

    8,968
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Jessica

  1. We'd prefer you post in the original thread.
  2. Your query is outside of your while loop. What you should do is make $turtle an array And use IN() rather than trying to update each one separately.
  3. Pick the one that makes the most sense to you, and one of us will move it if we determine it should be moved.
  4. Pick the one that makes the most sense to you, and one of us will move it if we determine it should be moved.
  5. Use explode and substr.
  6. You need to fix the original link so it's sel[] not sel%5B%5D Then you can use $_GET['sel'] and see the array.
  7. Ah then. All is well.
  8. I already hide one duplicate, so this is the third time he's posted this.
  9. Check if $count is not 0 first.
  10. Move the echo out of the if part
  11. Which name is the one that is wrong? Have you verified it using a tool like phpmyadmin?
  12. You'll need to rewrite your code to reflect having only one query. Post your new code.
  13. I actually just wrote a tutorial about this the other day on my blog, it might help you with the logic part. It's much more abstract than yours but give it a read. http://thewebmason.com/tutorial-parent-child-lists/
  14. == is comparison. = is assignment.
  15. Never run queries in loops, first of all. You can accomplish this with a join. Once you fix that I have a feeling your other problem will be fixed, since I'm sure you've mixed up $sql and $sql2 or $row and $row2.
  16. You should post your updated function, sample input and sample output. What do you expect to happen?
  17. In a database. In a regular old mysql database.
  18. / is not a character that needs html encoding.
  19. I'm lazy(er) when on the mobile site. Thanks requinix
  20. I'd guess you have duplicate data.
  21. Yes. Stop using print_r. Figure out how you want it to look.
  22. Your function doesn't return anything. http://us3.php.net/return http://us3.php.net/manual/en/functions.returning-values.php
  23. With an equals sign and then two different values.
  24. Read the links in my signature about how to get good help. What did you try? If they are two different values, why are you assigning them from the same value?
×
×
  • 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.