Jump to content

Jessica

Staff Alumni
  • Posts

    8,968
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Jessica

  1. A. this has nothing to do with regex. B. You didn't ask a question. C. Your explanations of the code are incorrect. Are you asking what the code does? The manual explains it, as well as how they've changed from version to version.
  2. Use the id for each row.
  3. Give them different names and/or values. Once you click do a print_r($_POST) to see what happens.
  4. Your script depends on register_globals, which is a security risk. You need to use the $_POST superglobal.
  5. There is no if statement in the code you posted. That also indicates you need to enable error reporting, set to E_ALL so you can get useful errors and notices.
  6. What happens when you navigate directly to the php file?
  7. You probably want to save the data you get from the other site into a database. There are lots of basic mysql tutorials you can use. Look into using mysqli or PDO in PHP.
  8. I wonder if it's a pubic--I mean public-- function.
  9. How do YOU the person using this system, know what image goes with what recipe?
  10. Whatever you do with it. $a = 'Bob'; What happens to $a? Nothing if you don't store it somewhere.
  11. The parser just helps you *parse* the HTML. What you do with it after that is up to you.
  12. I have recently used the Simple HTML DOM Parser and found it to be VERY useful.
  13. Because in SQL column names should not be strings. I doubt you have been doing that and had it work.
  14. You shouldn't put quotes around your column names.
  15. How do you know what recipe the image goes with? UPDATE that recipe's row.
  16. It should be fairly obvious what comes first and what comes last. You cannot write a user interface to interact with a database that hasn't been designed yet. You could do research on methods of development such as Agile, Scrum and Waterfall, and pick one.
  17. Since you can't answer basic questions about what you're trying to do, it's no wonder you can't find out how to do it. Mobile websites can request the user's location.
  18. At least it's there now I just asked them to add it last week, it was missing for a while!
  19. You can't just echo an array, as you have seen. You could try using implode, and/or foreach.
  20. The same way as with 2.
  21. That is what I said.
  22. For android or iPhone? Either way, they both have development kits you download to get started. Android is java, not sure about iPhone.
  23. You cannot put a span inside a script tag. You only put scripts inside script tags. You put the span in the right spot in your HTML.
  24. Basic logic - which is greater, height or width? Instead of using the original height and width in your resampled call, use the original of whichever is smaller, then that same measurement for the other. Ie, if an image is 150x200 you want to only sample 150x150, right?
×
×
  • 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.