Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. $stats in an object. Objects hold data. I'm really not sure it can be explained any simpler.
  2. The -> is used to access the properties and methods of an object. In this case, the objects are $db and $stats. $db->Execute() appears to return an object which has been saved into the variable $stats. Where is this code from? This isn't your typical database access code used in PHP. This looks like COM stuff (Windows) and more specifically the JET database engine.
  3. You could create a user to execute this script and have this user locked down so as to only execute this particular script with access to only what it needs to do so.
  4. Classes should be flexible. Having them simply store html doesn't really stick to that principle and pretty well misses the point.
  5. Neither methods are resizing the image. All they are doing is adjusting the display width and height via html. What does the end html look like in both cases?
  6. The same logic applies to map 1 term to 1 definition. It doesn't matter how many terms there are.
  7. Of course it's logical. Does it work? On a simple level yes.
  8. We are not here to write code for people. You have been provided many answers to your question. Start writing some code and get back to use when you are stuck with a particular issue.
  9. There are plenty of tutorials around in regards to searching a database using libraries such as mongoose for node etc. Where exactly are you stuck? OD you have your database of data? I would start there. Once you have the actual data, only then can you look at how to best access it. It shouldn't be difficult tat all once you have the actual data.
  10. Are you talking about client side Javascript or server side Javascript? I shouldn't imagine this would be something you would do client side.
  11. Have you looked in your extensions directory to see what you already have available?
  12. I'm not a Windows or Wamp user, but I'm certain all (excepting PECL) extension are packaged with the Windows PHP packages. All you need to do is uncomment them out in your ini file.
  13. Is that really your question? Read money_format then number_format and work out what needs to be changed.
  14. You can't just simply echo an array because (as you stated) it contains more than a single value. You'll either need to loop through its contents, or (simpler), use implode to turn your array into a string so that you can echo it simply.
  15. It means it's time to get a new one.
  16. Well there is no *virtual* anything directive in a php.ini, so I'm not sure what it would be referring to.
  17. trq

    Ie Problem

    I would start by getting it to validate.
  18. Still not understanding the issue. If you need three drop downs, you need the code for the three drop downs. What's it matter if they are in include files or not?
  19. Again, well designed libraries should be flexible enough to allow customizations without modifying the code.
  20. That is exactly how you count the elements within an array. Post your actual code if your still having issues.
×
×
  • 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.