Jump to content


  • Posts

  • Joined

  • Last visited

Previous Fields

  • Languages

Profile Information

  • Gender
  • Location

j.silver's Achievements


Member (2/7)



  1. That is true. I am trying to compare bootstrap vs css/media queries only in developing a responsive website. Do you see cases where a developer would tend not to use bootstrap (if one knows bootstrap) in preference to using css/media queries only in coding a responsive site?
  2. Dear all, Since bootstrap has container and container-fluid classes, does a heavy lifting, and is easy to use, I am inclined to think that css's media query has no advantage. I'd appreciate sharing any opposite opinion that sees usefulness/advantage in media queries.
  3. I meant one example of when would I use $a = NULL; instead of $a = '';
  4. Many thanks davej, justsomeguy. and Ingolme. The difference is now clear as well as when to use each. The difference between setting the variable to NULL and setting it to an empty string is also clear theoretically, however, I am comfortable with using the empty string but I would love to see one example of how to sett the variable to a NULL value but not to an empty string.
  5. Dear all; Is there any technical difference between initially setting a variable to false or setting it to an empty value at the beginning of a script, i.e., $x = false; vs $x='';
  6. Many thanks davej and justsomeguy Can I conclude that from now on I should use InnoDB in all types of tables and never use MyISAM, or there is still usefulness in MyISAM for certain types of tables?
  7. Better reputation in what scene? My understanding is that InnoDB takes more space in the server and is slower than MyISAM.
  8. The example is not telling whether or not the images must be secured.
  9. Dear all, For photo gallery tables (named: gallery_album, gallery_image, gallery_relation), I have seen a recommendation to use InnoDB engine in preference to MyISAM. I thought MyISAM would be the choice for all tables but tables for transactions. Do you agree with the recommendation to using InnoDB for photo gallery tables and why?
  10. Many thanks for your clarification. I have not come across how to do it the way you suggested. I would appreciate sharing any handy reliable source of example of how to do it, or I would just search the web.
  11. Many thanks Ingolme Which of the two methods (placing it inside the desired directory or your above suggestion) is better in terms of better protection or overall performance of the website or any other reason?
  12. Dear all, As you know, an .htaccess file placed in a directory to be affected (protected) is useful in websites hosted in an Appache server to protect such directories from prying eyes. But I have noticed that recommendation is to place such files inside certain directories only, e.g., inside includes and views (that contains home page, shopping cart, listing of products, etc.) directories. I thought we could as well protect all other directories should there be no downside to protecting all. Any thoughts on why we should not include an .htaccess file inside all directories will be appreciated.
  13. j.silver

    Index vs Key

    It allows to set: primary key, unique, index, and fulltext. There is no 'key' among the choices.
  14. j.silver

    Index vs Key

    Thanks. I have noticed that phpMyAdmin allows index assignment, but no key, which indicates that such slight difference is not accounted for in phpMyAdmin and both index and key are treated the same.
  15. Dear all, For an e.commerce project, I have the following for a carts table, which seem to be the practice in assigning date/time to such table: `date_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `date_modified` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', What are the merits in assigning default values as such for each date?
  • Create New...