EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 15, 2024, 05:17:18 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
Newbie Question
Pages: [
1
]
« previous
next »
Print
Author
Topic: Newbie Question (Read 7991 times)
thezman
Newbie
Posts: 2
Newbie Question
«
on:
March 04, 2013, 08:15:04 PM »
I have a single mysql table I want to display using the DataGrid. Am I required to fetch the data from the table into a json or is there a way to populate the DataGrid directly from the mysql table?
Logged
devnull
Sr. Member
Posts: 431
Re: Newbie Question
«
Reply #1 on:
March 04, 2013, 09:10:44 PM »
You can't do it directly, but you can create a generic PHP page and pass the query to it via the url:
soomepage.php?sql=Select * from Users where something is something
«
Last Edit: March 06, 2013, 10:03:10 PM by devnull
»
Logged
-- Licensed User --
thezman
Newbie
Posts: 2
Re: Newbie Question
«
Reply #2 on:
March 05, 2013, 07:48:10 PM »
Thanks. I have a PHP script to retrieve the data so I can probably just modify it for my purposes. Thanks.
Logged
devnull
Sr. Member
Posts: 431
Re: Newbie Question
«
Reply #3 on:
March 06, 2013, 10:02:38 PM »
I guess I should state that creating a PHP page that allows SQL statements to be sent via the URL is a huge security risk !
Logged
-- Licensed User --
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...