Jump to content

benanamen

Members
  • Posts

    2,134
  • Joined

  • Last visited

  • Days Won

    42

Everything posted by benanamen

  1. You only created one column. You need this... <div class="row"> <div class="col-md-3">col 1</div> <div class="col-md-3">col 2</div> <div class="col-md-3">col 3</div> <div class="col-md-3">col 4</div> </div>
  2. You know, a link to SIMS would be helpful. A search for SIMS booking gives 466,000 results. The script you use to get the data could also helpful.
  3. Are you really going to make us drag info out of you post by post? WHAT MIS? IS THERE AN API? Getting this right starts with the datasource, not your attempt at how to handle it. See the XY Problem in my signature.
  4. All fine and good and as it should be. What I am saying and others would say, is use CSS for the layout you want, not HTML. i.e: <table><tr><td>..... There is nothing more I can say other than that.
  5. As previously asked, What MIS system and is their an API available? Is that the complete DB schema? If so, you are missing tables and have other problems to fix to get it right.
  6. You are using obsolete Mysql code that has been completely removed from PHP. You need to use PDO with prepared statements. Post your current DB schema. I cannot tell if you just posted random MIS data or if that is your DB structure as well. If that is your DB it is not correct and needs to be fixed before going further. https://phpdelusions.net/pdo * More details on exactly which MIS would be helpful. I assume it means Managment Information System, which one? Is there an API?
  7. What you are talking about sounds more like Ajax inline table editing with dynamic table row creation. Of course this can be done if it's what you really want. This is what I believe you are referring to but I dont think this is what the OP is trying to do. http://talkerscode.com/webtricks/demo/demo_add-edit-and-delete-rows-from-table-dynamically-using-javascript.php
  8. How is a FORM tabular data? Let's not lose sight of where we started. The OP is using a table for LAYOUT/PRESENTATION when he should be using CSS.
  9. I would say that about sums it up. Just like you "could" use <font size = "" color=""></font> or mysql_*, but you know not to.
  10. From the same site. I rest my case. http://webaim.org/techniques/tables/
  11. You seemed to have missed the "General Form Accessibility" from page 1. "Make sure that the order in which form elements are accessed is logical and easy. This can sometimes be problematic if tables are used to control layout of form items." From what I briefly read, that site is not advocating using tables for form layout for accessibility and in fact leans to the opposite. As far as tables in the link you provided, that sections focus is "Handling Multiple Labels" and not about using a table for ease of accessibility. There is nothing about using a table for accessibility leverage. The answer is still no, do not use tables for form layout.
  12. Why don't you tell us more in detail exactly what you are doing. I believe this is an XY problem.
  13. Yeah.., no, not whatsoever. Not an opinion, just a fact. As @Jaques1 has correctly pointed out, tables are for tabular data. Period.
  14. No, you dont "Got it". @mac_gyver gave you the correct response. Using tables for page layout went out in the 90's. You need to use CSS.
  15. You are using obsolete code that has been removed from Php. Use PDO https://phpdelusions.net/pdo
  16. No one can send you a message because you are new. I am available.
  17. If you only need one space, use your spacebar.
  18. The only thing with line 3 is it is hard coded for linux. You would want to use DIRECTORY_SEPARATOR to set the proper slashes for Windows or Linux. const PAGES_BASEDIR = __DIR__. DIRECTORY_SEPARATOR .'pages' . DIRECTORY_SEPARATOR;
  19. See the code here https://forums.phpfreaks.com/topic/302370-router-any-issues-comments/
  20. That is one of the biggest problems with "coders". If you are going to be a programmer, you need to get rid of the "It works so I will use it" mentality. Did you even try to run the queries @Jaques1 provided you?
  21. Re-reading the OP's response, I see he "says if any of them" are true then it changes, if ALL are false. "If they are all false". I didn't read it correctly.
  22. If I understand correctly... SELECT IF(streamStatus=true,"True Message","False Message") AS streamStatus FROM table_name
×
×
  • 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.