Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. fenway

    A small problem

    Preferably with a ID DESC... ;-)
  2. No problem... sometimes I've seen selects followed by updates (like moving a balance) and it just doesn't work without some extra precautions.
  3. Then why have it there?
  4. Doesn't it have to? I'm quite confused... there's a plaintext string, and then there's the key -- they have nothing to do with one another.
  5. With an ORDER BY clause... how do you mean?
  6. I simply mean that depending on what you're doing with this afterwards, you have to remember that anything can happen between statements.
  7. It means there are a lot of extra check to do for every update/delete operation.
  8. How do you mean?
  9. Hey, I only ever claimed that I knew nothing about PHP... ;-)
  10. An UPDATE statement with an appropriate where clause?
  11. Hi paul... long time no see! Not elegant? That's the only way to add values.
  12. More to the point: alert(parseInt("010")); // alerts 8 Octal prefix magic is automatic.
  13. Or function replaceStuff(str){ return ( str.match(/^[a-zA-Z]+$/) && str.match(/ /) ); }
  14. Careful using parseInt without a radix.
  15. <td valign=top align=right> doesn't work?
  16. Hold on, does that mean yes? I think we're exploring a whole new area of fenway expertise here. I used to respond to posts frequently in the HTML/JS and (less often) CSS forums... I just can't keep up with the sheer number of topics.
  17. Agreed... but if you have a paying customer, I'm not sure that they'd be interested in your learning curve. Regardless, if you need any help with design further to your original post, let me know.
  18. No need to re-invent the wheel, that's all I'm saying.
  19. Go right ahead... but just consider the timeline for the project.
  20. I didn't know IE ever respect such attributes properly. Fenway knows CSS? I see possibilties. Just because I refuse to use CSS3 crazy selector thingys doesn't mean I haven't been building websites for a decade ;-)
  21. I assume you're dealing with a proper database here.... and that you have a table of topics and a table of posts. But seriously, there is plenty of good forum software out there... why roll your own?
  22. You mean "num" is the ID and seller is the ID from the clan/players table? If so: SELECT p.num, p.clan, m.* FROM players AS p INNER JOIN market AS m ON ( m.seller = p.num ) WHERE m.time<=$time AND p.clan=$users[clan] I'd rename "num" as player_id and seller as seller_id (or player_id) to make this more obvious. Also, make sure to quote those literals.
  23. How are these two tables related?
  24. What do you mean by overview?
  25. I'm talking about one record per POST... some all of the post goes into a single field. Two people = 2 posts.
×
×
  • 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.