DataTables
Advanced interaction
features for your tables.
Editor
Comprehensive editing
library for DataTables.
Manual
Download
Examples
Manual
Reference
Extensions
Plug-ins
Blog
Forums
Discussions
Sign In
Support
FAQs
Download
Purchase
≡
Show site navigation
Windows?
Windows?
vinit9
Posts: 20
Questions: 1
Answers: 0
November 2012
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
girishmr
Posts: 137
Questions: 0
Answers: 0
November 2012
None what so ever. Anyways share your settings / inits please for more clarity
allan
Posts: 63,534
Questions: 1
Answers: 10,475
Site admin
November 2012
No - there is nothing special needed for Windows XP. Please link us to a page showing the problem.
Allan
vinit9
Posts: 20
Questions: 1
Answers: 0
November 2012
I tried uploading my code but it said it needs to be moderated? Could I send it you via Private Message or anything?
girishmr
Posts: 137
Questions: 0
Answers: 0
November 2012
Yes if you can share the link it would be worthwhile :)
vinit9
Posts: 20
Questions: 1
Answers: 0
November 2012
I currently don't have a link its stored locally to use with phpMyadmin and sql ..
vinit9
Posts: 20
Questions: 1
Answers: 0
November 2012
I'm also getting the following error;
DataTables warning (table id = '#kpitable'): Requested unknown parameter '0' from datasource for row 0
girishmr
Posts: 137
Questions: 0
Answers: 0
November 2012
Can u share any of ur IM's?
vinit9
Posts: 20
Questions: 1
Answers: 0
November 2012
I've private messaged you my code Girishmr
vinit9
Posts: 20
Questions: 1
Answers: 0
November 2012
[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]
vinit9
Posts: 20
Questions: 1
Answers: 0
November 2012
@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.
Sign In
·
Register
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Quick Links
Categories
Recent Discussions
Unanswered
Categories
74.3K
All Categories
56
Priority support
24K
Free community support
997
General
14
Announcements
2.5K
DataTables
79
DataTables 2
1.3K
DataTables 1.10
92
DataTables 1.9
35
DataTables 1.8
9
CloudTables
2.2K
Editor
2.8K
Extensions
20
AutoFill
310
Buttons
50
ColVis
30
DateTime
68
FixedColumns
50
FixedHeader
32
ColReorder
30
KeyTable
103
Responsive
23
RowReorder
42
Scroller
163
SearchBuilder
193
SearchPanes
107
Select
26
StateRestore
22
TableTools
220
Bug reports
67
Feature requests
100
Plug-ins
11
Blog
69
Web-site
Replies
Allan
DataTables warning (table id = '#kpitable'): Requested unknown parameter '0' from datasource for row 0
@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]
$(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();
?>