Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. You need to use %s in your query.
  2. But why don't you get the _client_ machine to use the new protocol.
  3. Have you read this?
  4. You need to consult a php/mysql tutorial... you're trying to mix CLI syntax with PHP, and it's just a mess.
  5. Post the code that you're using to prove this.
  6. Is it your server? If not, get this to tell you what to do. But it sounds like you have the wrong password.
  7. Get what? Your query makes no sense -- WHERE cImage?
  8. Well, a multi-valued INSERT would be faster... but I'm not sure I see what the problem is.
  9. I don't see any sql.
  10. Why not have a unique key that spans both columns? Alternatively, what's wrogn with having multiple rows for each addition?
  11. How could we possibly guess why the host is acting funny? Besides, are you sure it's not just the front-end?
  12. If you set the client timezone differently from the server timezone, mysql will do this for you.
  13. Assuming you know the order of your array, you can simply used a multi-valued insert statement.
  14. Wow, you could acutally make sense of that code?
  15. the %s is a sprintf substitution marker... that is replaced with $colname_rsPtInfo... but then there's no "%" in the mysql query. You'd need: $query_rsPtInfo = sprintf("SELECT * FROM PtInfo WHERE Last_Name LIKE '\%%s' ORDER BY Last_Name ASC", $colname_rsPtInfo);
  16. MyISAM has checksums....
  17. That subquery should be fine... if you replace it with ( SELECT <some libNum that exists> FROM finishedLibs ) does it work?
  18. Obviously, that machine has the old client software -- upgrade it.
  19. Please re-read my previous posts. You're clearly confusing your HTML "rows" with your DB "rows". I have no idea what the checkboxes are for, how they get populated, or where they get saved.
  20. This makes no sense -- you don't have a column called checked; and your life will be much simpler if you use different quoting inside & out.
  21. You don't need % with AGAINST
  22. Seems like you could combine some of these.
  23. Not sure, this is a PHP-related issue now (file host permissions, not mysql, at least), so I'm moving it to the appropriate forum.
  24. Use add it to the where clause... with AND. I assume you tried and it didn't work?
×
×
  • 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.