Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. Barand's in a good mood this week -- this usually isn't the place if you want someone to write a script for you.
  2. If you're talking about important data, then the source of the data isn't really the effortful part here.
  3. I don't see how you've isolated MySQL as the culprit here -- check the output HTML.
  4. This really up to the driver -- MySQL faithfully returns types.
  5. Don't post the entire code; you've been asked to show errors as well as table structure, but you're provided neither.
  6. fenway

    DISTINCT ID

    You can't apply DISTINCT to a particular column -- it operates at the record-level. What are you trying to do?
  7. Didn't want to open a new thread just to drop a note that I'll be AWOL for a week or so.
  8. Save what? The binary contents?
  9. Are you you're accessing that recordset correct? Try vardump.
  10. Are you asking us what a PHP function is?
  11. And please stop posting all of your code unless it's directly related to the error.
  12. fenway

    SELECT rank

    Well, you're trying to use the alias of a colum in the SELECT list in the ON clause -- but the aliasing happens on the return, long after the JOIN.
  13. What's more, all the counts from the same table can likely be cominbed.
  14. Well, if you have binary logging / query logging enabled, you'll have something useful -- but the records are gone.
  15. That's what mysql_error() is for. But the real issue is that you're confusing backticks and quotes -- ` is not the same as '.
  16. Why would you randomly delete a file created by mysql?
  17. 1. Well, '%' includes localhost, but typically localhost permissions are less restrictive. 2. Yes, IP would be the best way to go -- usually, web users connect from your web server to your DB server -- and the former almost always has a static/virtual IP (or small range). 3. There is no such inheritance -- one sets of privs for each user/host. More restrictive first, IIRC, in terms of host.
  18. @ignace -- I'm sure this is one of the preferences -- it's just that I wasn't expecting to see your name attached to them (yet).
  19. You already posted this topic -- I've removed the other once, since this is clearer. But I still don't understand -- are you asking us to write the update/POST steps?
  20. That explains all the user warnings e-mails I've been getting all week....
  21. Well, it's clear that whatever you think PDO is doing to that query, it's not -- there is no colon in the column name.
×
×
  • 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.