Table Entries Error - Only Contains Number of Entries Displayed
Table Entries Error - Only Contains Number of Entries Displayed
Hello,
I started using DataTables several days ago, and so far it's been great. However, after editing the php code (I'm using it server side), the only entries in the database are the entries shown per page. For example, it says "Showing 1 to 10 of 10 entries (filtered from 600 total entries)".
If I select more entries, the table loads them, but only up to the number selected. The search bar also no longer works. Is there a reason this would happen? Here's the code I edited:
[code]
$sQuery = "SELECT Seq.ID, Lane, Sample, Ref, Index, Description, Control,
Stat.Read FROM Seq, Stat WHERE Seq.PKey = Stat.Seq_FKey
$sOrder
$sLimit";
[/code]
Thanks!
I started using DataTables several days ago, and so far it's been great. However, after editing the php code (I'm using it server side), the only entries in the database are the entries shown per page. For example, it says "Showing 1 to 10 of 10 entries (filtered from 600 total entries)".
If I select more entries, the table loads them, but only up to the number selected. The search bar also no longer works. Is there a reason this would happen? Here's the code I edited:
[code]
$sQuery = "SELECT Seq.ID, Lane, Sample, Ref, Index, Description, Control,
Stat.Read FROM Seq, Stat WHERE Seq.PKey = Stat.Seq_FKey
$sOrder
$sLimit";
[/code]
Thanks!
This discussion has been closed.
Replies
Allan
Thank you for your help!
EDIT: The search issue was due to unclear MySQL table names. Thanks again.