Using php on process page to populate the table

Using php on process page to populate the table

TonyDevTonyDev Posts: 2Questions: 2Answers: 0

Hey everyone. I apoligize if my question is not 100% clear because I am not quite sure how to word it but here I go.

I have a page I am going to use datatables on. It is a large set of data that I have so I need to use server side processing. Before I added datatables to the page everything was done through php objects and functions that ran SQL procedures.

so I have a column called brands. the way it was populated before was

http://pastebin.com/WrBUZe4i

and then in the table it had

<td><?=$landingUrl?></td>

How can I do the same thing but on the process page? this is my current AJAX

http://pastebin.com/eGGfJNhp

and process page

http://pastebin.com/02xU7H1K

So that seems to be working well for getting the name column of my table and was easy to do. However I just don't know how to go about doing the brand column since it only gets certain records from the DB. I hope this makes sense and if not please ask anything you need to know to help

This discussion has been closed.