Jump to content

dodgeitorelse3

Members
  • Posts

    254
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by dodgeitorelse3

  1. Have you tried putting this code into a php file and running it to see what you have?

     

    <?php
    
    // Show all information, defaults to INFO_ALL
    phpinfo();
    
    ?>

     

    in your web browser use edit/find in page and search for mysqlnd. That would be for firefox browser. Chrome browser would be search/find

  2. changing your code from php short tag to <?php  and then adding error reporting and display errors as such displays

    <?php
    	error_reporting(E_ALL);
    	ini_set('display_errors', '1');

     

    Warning: require_once(/var/www/vhosts/worldwide-gaming.com/httpdocs/squirrelcart/pre_common.php): failed to open stream: No such file or directory in /var/www/html/ProdFeedGen.php on line 6

    Fatal error: require_once(): Failed opening required '/var/www/vhosts/worldwide-gaming.com/httpdocs/squirrelcart/pre_common.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/ProdFeedGen.php on line 6

    and does not print code to screen.

    These errors show for me due to the fact I am not using a full url to get to your require once file.

  3. We know no more now than we did when you posted the 3 files. We already understood that is the file with the error. Please provide all 4 files using the actual file names and without any sensitive information that is in them. I have a suspicion you have not followed the majority of the advice you have already been given. There is obviously a mistake (or many) that is causing the error. It will be very hard for you to solve the error if you are going to pick and choose what advice is given.

  4. instead of saying first file, second file and third file use the actual file name. I am curious if your form is actually posting to second file (denetim.php)  and which file is your redirect (header("Location:sayfam.php")). The clearer you are determines the quickest path to your answer.

  5. Using sort will sort numbers. so I if enter 12345 into input box results will be 12345. If I do same thing again then result will be the same. Without using sort, the numbers will be returned in different orders each time using same input of 12345.

    However entering more than 5 digits, lets say 1 through 9, then it will return 2 sets of numbers. the first set with 5 numbers and the second set with the remaining 4 numbers. So depending on what you are expecting for results depends on the code you use.

  6. <?php
        if (!empty($from) && !empty($to)) {
    ?>
       <div class="card">
          <div class="card-datatable table-responsive card-body">
              <div class="col-md-12" >
                  <table class="table dataTable" id="myTable2">
                      <thead>
                          <tr>
                              <th>Product</th>
                              <th>Amount</th>
                              <th>US$</th>
                          </tr>
                      </thead>
                      <tbody class="tbody">
                          <?= $tdata ?>
                      </tbody>
                  </table>
              </div>				
          </div>					
      </div>
    <?php
        }
    ?>

    I think that is what you need

     

     

×
×
  • 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.