Forum

July 10th, 2011
You must be logged in to post Login Register

Search Forums:


 






jqgrid for php with mssql

No Tags
UserPost

05:43
24/06/2012


sagana

New Zealand

Member

posts 13

I can access mssql data through php using sqlsvr and display it in a table. How would I get this data into a jqgrid.

require_once "../includes/jquery/php/jqGrid.php";
require_once "../includes/jquery/php/jqGridPdo.php";

define('DB_DSN','server=localhost;dbname=database');
define('DB_USER', 'user');     // Your MySQL username
define('DB_PASSWORD', 'pwd'); // …and password

$conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD);

The code runs until $conn = new PDO, then nothing happens


Any guidance would be great thank you.

No Tags

About the jQuery Grid Plugin – jqGrid forum

Most Users Ever Online:

157


Currently Online:

56 Guests

Forum Stats:

Groups: 1

Forums: 7

Topics: 9591

Posts: 28784

Membership:

There are 10165 Members

There have been 448 Guests

There is 1 Admin

There are 2 Moderators

Top Posters:

OlegK – 1157

markw65 – 179

kobruleht – 144

phicarre – 126

YamilBracho – 124

Renso – 118

Administrators: admin (56 Posts)

Moderators: tony (7009 Posts), Rumen[Trirand] (81 Posts)




Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information