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. 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.
  6. I already hide one duplicate, so this is the third time he's posted this.
  7. Which name is the one that is wrong? Have you verified it using a tool like phpmyadmin?
  8. You'll need to rewrite your code to reflect having only one query. Post your new code.
  9. 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/
  10. 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.
  11. You should post your updated function, sample input and sample output. What do you expect to happen?
  12. In a database. In a regular old mysql database.
  13. / is not a character that needs html encoding.
  14. I'm lazy(er) when on the mobile site. Thanks requinix
  15. Yes. Stop using print_r. Figure out how you want it to look.
  16. Your function doesn't return anything. http://us3.php.net/return http://us3.php.net/manual/en/functions.returning-values.php
  17. With an equals sign and then two different values.
  18. 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.