Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Problem getting Database connection
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Problem getting Database connection
#29332
Problem getting Database connection 12 Years, 5 Months ago Karma: 0
I can get CSV file and render a table just fine. I cannot get a database connection to the table I would like to render. I ran the sample format and it did work so I know the connection is good. It might be the structure of the table. A few of the columns contain HTML code to render a link in the cells. Could that be throwing Datatables off? Szakitable works just fine in MySQL call, renders with links and all. I was going to rewrite the Szakitable plugin to call datapager.js, the lag on load it too long and that plugin doesn't seem to like the WHERE clause in the sql call. I need to parse the data down into smaller sections to call so the load time decreases and the table isn't 1800 rows long.

Scratching my head at what the problem could be and why the sql plugin won't work with this table. Need some help, almost 1800 rows of data with 7 columns, which could more than double in the next few months and we need a solution.

Thanks
Tom
The administrator has disabled public write access.
 
#29339
Re:Problem getting Database connection 12 Years, 5 Months ago Karma: 760
Hello,

What plugin code do you use and what exactly doesn't work? Do you see a blank page or something another?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#29361
(Solved) Problem getting Database connection 12 Years, 5 Months ago Karma: 0
I figured out the SQL query had non break space encoding in the query. Which was odd because I was cutting and pasting from Notepad. I turned off the editor and took a look. This is what was in the query...the odd '&nbsp'
Code:


SELECT * FROM&nbspj25_mytable WHERE&nbsp.....etc...


The &nbsp were throwing off the query. As soon as I removed them, all was well.
Last Edit: 2012/06/25 02:56 By Hutchy68.
The administrator has disabled public write access.
 
Go to topPage: 1