Windows?

Windows?

vinit9vinit9 Posts: 20Questions: 1Answers: 0
edited November 2012 in General
Do I need to change anything for DataTables if I use it on Windows XP .. Currently nothing appearing I've gone over the tutorial number of times!

Thanks

Replies

  • girishmrgirishmr Posts: 137Questions: 0Answers: 0
    None what so ever. Anyways share your settings / inits please for more clarity
  • allanallan Posts: 63,161Questions: 1Answers: 10,406 Site admin
    No - there is nothing special needed for Windows XP. Please link us to a page showing the problem.

    Allan
  • vinit9vinit9 Posts: 20Questions: 1Answers: 0
    I tried uploading my code but it said it needs to be moderated? Could I send it you via Private Message or anything?
  • girishmrgirishmr Posts: 137Questions: 0Answers: 0
    Yes if you can share the link it would be worthwhile :)
  • vinit9vinit9 Posts: 20Questions: 1Answers: 0
    I currently don't have a link its stored locally to use with phpMyadmin and sql ..
  • vinit9vinit9 Posts: 20Questions: 1Answers: 0
    I'm also getting the following error;

    DataTables warning (table id = '#kpitable'): Requested unknown parameter '0' from datasource for row 0
  • girishmrgirishmr Posts: 137Questions: 0Answers: 0
    Can u share any of ur IM's?
  • vinit9vinit9 Posts: 20Questions: 1Answers: 0
    I've private messaged you my code Girishmr
  • vinit9vinit9 Posts: 20Questions: 1Answers: 0
    [code]





    @import "C:\wamp\www\NetBeansProjects\Mogadishu\DataTables\media\css\demo_table.css";



    $(document).ready( function () {
    $('#kpi_table').dataTable();
    } );




    <?php include('config.php'); ?>


    <?php
    $db_name="mogadishu"; // Database name
    $tbl_name="kpi_test_results"; // Table name

    // Connect to server and select database.
    mysql_select_db("$db_name")or die("cannot select DB");

    $sql="SELECT * FROM $tbl_name";
    $result=mysql_query($sql);
    ?>



    KPI Database
    Homepage






    Test ID:
    Date and Time of upload:
    KPI Test ID:
    Device Name:
    Build:
    Date of Test:
    Final Outcome:



    <?php
    while($rows=mysql_fetch_array($result)){
    ?>


    <?php echo $rows['id']; ?>
    <?php echo $rows['timestamp']; ?>
    <?php echo $rows['kpi_tests_id']; ?>
    <?php echo $rows['device_name']; ?>
    <?php echo $rows['build']; ?>
    <?php echo $rows['datetime']; ?>
    <?php echo $rows['final_outcome']; ?>


    <?php
    }
    ?>



    <?php
    mysql_close();
    ?>

    [/code]
  • vinit9vinit9 Posts: 20Questions: 1Answers: 0
    @import "/DataTables/media/css/demo_table.css";



    $(document).ready( function () {
    $('#kpitable').dataTable();
    } );




    <?php include('config.php'); ?>


    <?php
    $db_name="mogadishu"; // Database name
    $tbl_name="kpi_test_results"; // Table name

    // Connect to server and select database.
    mysql_select_db("$db_name")or die("cannot select DB");

    $sql="SELECT * FROM $tbl_name";
    $result=mysql_query($sql);
    ?>



    KPI Database
    Homepage






    Test ID:
    Date and Time of upload:
    KPI Test ID:
    Device Name:
    Build:
    Date of Test:
    Final Outcome:



    <?php
    while($rows=mysql_fetch_array($result)){
    ?>


    <?php echo $rows['id']; ?>
    <?php echo $rows['timestamp']; ?>
    <?php echo $rows['kpi_tests_id']; ?>
    <?php echo $rows['device_name']; ?>
    <?php echo $rows['build']; ?>
    <?php echo $rows['datetime']; ?>
    <?php echo $rows['final_outcome']; ?>


    <?php
    }
    ?>



    <?php
    mysql_close();
    ?>
This discussion has been closed.