Jump to content

Jessica

Staff Alumni
  • Posts

    8,968
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Jessica

  1. Works fine for me. Are you sure you had actually read that topic before?
  2. I wouldn't use HEREDOC, for an entire form? I'd use a template. But I do love me some Smarty.
  3. Looks great guys! I was compulsively checking the site.
  4. Just select them from your database and loop through...
  5. Do the math in PHP, or use SUM
  6. I'm not getting any errors, but I also can't type anything in the box. Firebug shows no errors. Weird....
  7. Can you post the HTML part too? I want to try it on my localhost to debug.
  8. So my point is what happens when the users spots a typo, moves the cursor back, hits backspace to fix their typo and type a new letter, and you move the cursor to the end of the line?
  9. You need to fix the data, so in the long term you have good data to work with. However, you can do != '-' for a quick fix.
  10. You want to remove the entire row, or change the - to something? Once you figure out how you want to handle those rows, you'll want to change the column to be a decimal type.
  11. What are you trying to do? What is the data type of the field?
  12. You will have to use AJAX for that. jQuery is easy to pick up, but if you don't want to spend the time to learn it, hire someone to do it for you. However, rather than doing all those select boxes, I would use a jQuery sortable list. http://docs.jquery.com/UI/Sortable http://jqueryui.com/demos/sortable/
  13. Can you explain what you're trying to do in more detail? It sounds like if the user is trying to type in the textarea, you're going to constantly move the cursor to the end, and that would be kind of annoying...
  14. TBH I don't completely understand your question. If you want a list of all products to display on a page, you need to select all products.
  15. Forbes And if you can't show it to them because your site doesn't work correctly in the browser they use, they can never learn that they want it.
  16. very. $result = mysql_query("SELECT * FROM data WHERE band_name LIKE '". $_GET['var'] ."%' ",$db); $myrow = mysql_fetch_array($result); if (!$result){...} if(mysql_num_rows($result) > 0){ $myrow = mysql_fetch_array($result); do..... This is the section in which the problem exists. I've cut out some code to make it shorter. Do you see the problem now?
  17. So what happens if a user posts A quote Their response Another Quote
  18. There's also things like HTML_Safe if you want to allow some limited HTML. http://pear.php.net/package/HTML_Safe
×
×
  • 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.