Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. Of course, and it's all covered in the manual. http://httpd.apache.org/docs/2.0/vhosts/mass.html
  2. This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=356760.0
  3. This topic has been moved to PHP Installation & Configuration. http://www.phpfreaks.com/forums/index.php?topic=356734.0
  4. Firstly, you have posted your code within the HTML help board, this is not HTML. Secondly, you have posted your code on a PHP web site, this is not PHP. You need to find yourself an ASP web site.
  5. It's still in pre-alpha so definitely not. It's probably still at least 6 months away from being usable at this stage. I would highly recommend Symfony2 as a framework.
  6. Those two expressions are equal, some people find it easier to read one way or the other.
  7. OT but, Why on earth are you storing that data in a users $_SESSION? That is application specific data, the $_SESSION is *client* specific. You will have duplicate copies of the same data for every user on your site for no good reason.
  8. Chances are any applications you build will be deployed on Linux servers. They are far more common. Using a similar setup for development is always advised.
  9. This topic has been moved to PHP Regex. http://www.phpfreaks.com/forums/index.php?topic=356719.0
  10. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=356714.0
  11. Events are attached as your page first loads. Because this button didn't exist then, it won't get any events attached to it. You can work around this by using event delegation. See http://api.jquery.com/on/
  12. Might want to use require_once, require will attempt to load it again. if it already has been loaded you will get an error, since you would then be trying to redefine a class. Using require_once is not necessary as __autoload is only called if a class doesn't already exist in scope.
  13. No, but they can be included.
  14. == is the comparison operator in PHP, not =
  15. And what exactly is your question / problem? Just make a new vhost and setup it's Document root to use the *card* directory. At it's simplest: <VirtualHost *:80> ServerName card.gamerstats.net DocumentRoot "/path/to/card" </VirtualHost>
  16. Child classes inherit all parent's properties and methods.
  17. Yes it's possible. Querying a database doesn't really have anything to do with CI though, though I suppose you could use it's DB libraries if you where that way inclined. Anyway, all you need do is write a script, and have that script executed via cron. http://en.wikipedia.org/wiki/Cron
  18. <label for="gender">Gender:</label> <select id="gender" name="gender"> <option value="">--</option> <option value="F"<?php (isset($gender) && $gender == "F") ? 'selected="selected"' : ''; ?>>Female</option> <option value="M"<?php (isset($gender) && $gender == "M") ? 'selected="selected"' : ''; ?>>Male</option> </select>
  19. This topic has been moved to CSS Help. http://www.phpfreaks.com/forums/index.php?topic=356577.0
  20. JavaScript string object has it's own replace() method. https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String/replace
  21. This topic has been moved to PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=356564.0
  22. There are literally thousands of tutorials around that cover the subject. Where exactly are you stuck?
  23. If your looking for the number of rows returned it's mysql_num_rows.
  24. Your going to need to be a lot more specific than that I'm afraid.
  25. You will also need to add this name to a local DNS server or at minimum your hosts file to get this working.
×
×
  • 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.