Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. You never setup a pageTracker object so that example won't work. Your using the newer _gaq object. Ive never heard of that before. Can you point me to that article?
  2. Dynamically generating forms and the like is much more efficiently carried out on the client-side using Javascript. There is no particular term for it.
  3. You want event tracking, not page tracking. http://code.google.com/apis/analytics/docs/tracking/eventTrackerGuide.html ps; The code to instantiate the relevant object and to take care of page tracking should be inserted just prior to your closing </html> tag (along with all other Javascript really).
  4. Why not? This makes it completely dynamic.
  5. It doesn't look anything like the but thanks for the comment. I thought you were being genuine until I saw the quality of your own site. Then I realised you must be joking. Hehe, nice one. Nice. Obviously you don't take criticism very well. Some advice: don't ask if you can't handle it. While the site does indeed look nice it does have that typical 'web 2' look. That is what I think Colton.Wagner was getting at.
  6. This topic has been moved to mod_rewrite. http://www.phpfreaks.com/forums/index.php?topic=314170.0
  7. You are misunderstanding what mysqli_fetch_array returns. Each time it is called it returns an array containing each field from 1 row of your database and moves the pointer to the next row where it waits for the next call. Your 'while' loop is likely only returning 1 row because that is all that matched your query. Your 'for' loop doesn't make much sense because it loops through each column within a single row and simply displays the same data each time through.
  8. I would check that /var/lib/php5/ exists and that it is writable by apache.
  9. :: and -> serve completely different purposes in PHP. The first is used to access static properties and methods of a class while the second is used to access methods and properties of an object. This really has little to do with codeignitor but PHP itself.
  10. This topic has been moved to PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=314133.0
  11. Flash is rendered by a propriety flash plugin embedded into a browser. html needs to be rendered by the different browsers themselves.
  12. I couldn't recommend any program with drag and drop functionality, simply because working with the web is fare too complex for such things (browser compatibility etc etc etc). Dreamweaver does it, but it writes some of the worst code I have seen. Why? Because it isn't human and needs to take into account lots of variables that really need to be decided by an actual person. Someone else might have other ideas, but in my opinion, most web development needs to be done by hand.
  13. str_replace doesn't work with regular expressions. Take a look at preg_replace.
  14. Then you will need to use Ajax to send the data back to the server, have it parsed, and sent back to the client.
  15. Of course. You might need to search for the class your looking for though.
  16. Is your bbcode parser client-side or server-side?
  17. Sorry, but your question makes little sense. Again?
  18. This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=314136.0
  19. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=314137.0
  20. See http://www.phpfreaks.com/forums/editor-help-(dreamweaver-zend-etc)/editors/
  21. Most people use the class attribute for this reason, it sux, but until html5 there really isn't anything specifically for what your after that validates.
  22. While your code is working, it is far from well written, for a few reasons. You should only ever query your tables for the data you need, don't use SELECT * And take a look at LIMIT You should always sanitize user input. Using $_GET['id'] directly in a query opens all sorts of security holes. See mysql_real_escape_string. You should ALWAYS check your queries succeed and actually return results bofore you start passing any result to functions such as mysql_fetch_*
  23. trq

    class?

    The chain method is a fair bit more complex within the class itself.
  24. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=314117.0
×
×
  • 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.