Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. Sigh... use mysql_error() next time... you have your fields in single quotes.
  2. Depends how common it is... read the refman page, fulltext is funny.
  3. The display has nothing to do with the query -- does the latter work?
  4. Sounds like this should be in the php help forum... please confirm.
  5. Just when you thought normalizing databases had nothing to do with the real world... some (perhaps sarcastic) food for thought -- http://qntm.org/?gay -- I was going to post this in Misc, but maybe there's actually something to learn here.
  6. Don't open a new topic for the same issue.....
  7. Let's see... you're running a query called $ggroup1, but your query string is in $ggroup. Catching mysql_error() will help in the future.
  8. Then you've double-posted... careful now.
  9. I don't understand.
  10. Right... so change this in your php.ini file.
  11. Missing quotes.
  12. You need to echo some queries.
  13. Or, don't do either and don't use reserved keywords as column names.
  14. What errors?
  15. Could you give some real-world examples? And you table structure, too?
  16. No, you'd have flag_id = 1 a thousand times in your table...
  17. You may not need them per se... you're just taking a few values and adding them ... subqueries can help you here.
  18. I have no idea what you're talking about... ?
  19. Whatever expressions are valid for WHERE are valid for HAVING -- so you can use BETWEEN just like before.
  20. You mean like select username, count(*) from fans where dateadded = <the-date-you-want> group by username ?
  21. It happens... don't forget it mark it "solved"... LOL.
  22. Yikes! Why is everything of type TEXT? And why don't you store the flag_id in the infobase table?
  23. Not sure what you mean by "inaccurate" -- how do you want the month logic to work?
  24. That's simply becuase the rank is an alias, which gets "renamed" after the WHERE clause... try HAVING.
  25. Sounds like you need a join... post your table structure.
×
×
  • 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.