Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. I already explained how to do it. Where exactly are you stuck?
  2. Buddy, I have't said anything rude, if you read my last reply you will see I offer a proper solution to your problem.
  3. Thanks litebearer, but I do have a tendency to be pretty blunt. Mostly due to frustration. I know I shouldn't bother. To the op: Think about it. Why would you need multiple copies of the same survey stored? You don't. Simple. Duplicate data almost always points to poor design. A better question seeing as you don't seem to understand how to do it well is. "How could I link multiple surveys to multiple accounts" or similar. You basically need three tables. One to store all the questions, each row also needs a column linking it to the next table. The next table could store the name of the server and the id linking it to the previous table. You then use this same id to link each survey to a users account.
  4. That really doesn't answer the question. Data duplication is a sign of poor design. Without any valid reason as to why, I am very reluctant to let you know how.
  5. Tying queries to a class does not make them re-usable. A simple function will server the same purpose, even then, I would say your compromising flexibility.
  6. That alone is a bad idea. See here for a solution: http://www.phpfreaks.com/tutorial/data-joins-unions
  7. Why don't you try actually asking a question?
  8. Have you looked at the rest of the indexes available within the $_SERVER array?
  9. You could wrap that in a simple function. What makes you think a class is what you need?
  10. First, why would you want duplicate data?
  11. See http://www.phpfreaks.com/forums/index.php?topic=244703.0
  12. You really need to check your results before using them. What does mysql_error have to say?
  13. You need to actually describe your problem. We cannot see what is happening in front of you.
  14. This should get you started: http://www.phpfreaks.com/tutorial/data-joins-unions
  15. I have no idea what your talking about.
  16. This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=348942.0
  17. No, there are plenty of sites around that have more than a few dozen request of the same file at the same time.
  18. This topic has been moved to Editor Help (Dreamweaver, Zend, etc). http://www.phpfreaks.com/forums/index.php?topic=348931.0
  19. This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=348903.0
  20. Why on earth would you think to post this under PHP Help?
  21. I understand your questions completely. It completely depends on the framework, but yes, you still need to understand how things work.
  22. Like I said, you still need to know how to program.
  23. trq

    MOVED: join in JDBC

    This topic has been moved to Other Programming Languages. http://www.phpfreaks.com/forums/index.php?topic=348906.0
  24. This topic has been moved to Apache HTTP Server. http://www.phpfreaks.com/forums/index.php?topic=348893.0
  25. a1) See strtolower & str_replace. a2) No.
×
×
  • 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.