Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End My report in php should be 121 records long but only shows the first 25

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #245557
    Larry1234
    Participant

    My report in php should be 121 records long but only shows the first 25 I am new to css and have been trying to solve this issue Here is the statment in php for the loop
    <?php while ($data = mysql_fetch_array($project)){ ?>
    There is nothing in the loop that will affect this

    The php script is refers to the report css as below
    <title>Work Order Reports</title>
    <link rel=”stylesheet” href=”assets/css/report.css”>

    Here is the report.css file.
    I would like to Know how to make the report show all of the records
    Any help would be appreciated.

    Thanks Larry1234

    { border: 1px; font-size: 11px; list-style: none; margin: 1px 1px 1px 1px; padding: 0; text-decoration: none; vertical-align: top; }
    h1 { font: bold 100% sans-serif; letter-spacing: 0.5em; text-align: center; text-transform: uppercase; }
    /
    table { font-size: 75%; table-layout: fixed; width: 100%; }/
    table { font-size: 75%; table-layout: auto; heigth: 100% width: 100%; }
    table { border-collapse: separate; border-spacing: 2px; }
    th, td { border-width: 1px; padding: 0.5em; position: relative; text-align: left; }
    th, td { border-radius: 0.100em; border-style: solid; }
    /
    th, td { border-radius: 0.25em; border-style: solid; }/
    th { background: #EEE; border-color: #BBB; }
    td { border-color: #DDD; }
    html { font: 16px/1 ‘Open Sans’, sans-serif; overflow: auto; }
    html { background: #999; cursor: default; }
    /
    body { box-sizing: border-box; height: 11in; margin: 2px auto; overflow: hidden; padding: 0.5in; width: 8.4in; }/
    content {height: Auto;}
    /
    body { box-sizing: border-box; height: 100vh; margin: 2px auto; overflow: hidden; padding: 0.5in; width: 8.4in; }*/
    body { box-sizing: border-box; height: 100%; margin: 2px auto; overflow: hidden; padding: 100%; width: 8.4in; }

    body { background: #FFF; border-radius: 1px; box-shadow: 0 0 1in -0.25in rgba(0, 0, 0, 0.5); }
    header { margin: 0 0 3em; }
    header:after { clear: both; content: “”; display: table; }
    header h1 { background: #000; border-radius: 0.25em; color: #FFF; margin: 0 0 1em; padding: 0.5em 0; }
    header address { float: left; font-size: 75%; font-style: normal; line-height: 1.25; margin: 0 1em 1em 0; }
    .myaddress p { margin: 0 0 0.25em; }
    header span, header img { display: block; float: right; }
    header span { margin: 0 0 1em 1em; max-height: 100%; max-width: 60%; position: relative; }
    /header span { margin: 0 0 1em 1em; max-height: 25%; max-width: 60%; position: relative; }/
    header img { max-height:100%; max-width: 100%; }
    header input { cursor: pointer; -ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=0)”; height: 100%; left: 0; opacity: 0; position: absolute; top: 0; width: 100%; }
    article, article address, table.meta, table.item { margin: 0 0 3em; }
    article:after { clear: both; content: “”; display: table; }
    article h1 { clip: rect(0,0,0,0); position: absolute; }
    article address { float: left; font-size: 100%; font-weight: bold; }
    .my_address p{font-size: 160%; font-weight: bold; color:brown; }

    #245559
    Beverleyh
    Participant

    CSS cannot affect what is served to the web page. It is for presentation only. In other words, it affects how the page looks.

    It is more likely that the PHP is somehow at fault. Try viewing the source code to see what records are being served. This way you can be sure that you are looking at only the generated markup. CSS will not affect the source of the web page, just the way it is visually presented in the browser.

    #245579
    Shikkediel
    Participant

    Just some quick input without much research, try removing the overflow: hidden from here:

    body {
    box-sizing: border-box;
    height: 100%;
    margin: 2px auto;
    overflow: hidden;
    padding: 100%;
    width: 8.4in;
    }
    

    Could be the output is there but you’re just not seeing it. It’s a bit hard to tell with these code dumps though. There seem to be a lot of invalid slashes in the style too.

    #245591
    Larry1234
    Participant

    Thanks for your input Shikkediel. I really appreciate your input. And yes that was what was wrong with it alright. This being marked as a good answer.

    Thanks Again

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Back End’ is closed to new topics and replies.