¿How to use Prepared Statements to generate Grid?

Questions¿How to use Prepared Statements to generate Grid?
c3media asked 2 years ago

Hello Abu,

As you know, prepared statement in PHP give extra security to Mysql queries, so i have a MySQL querie to generate grid by custom select_command but not works.

¿How to implement this in PhpGrid?: https://www.tutorialrepublic.com/php-tutorial/php-mysql-prepared-statements.php

 

Regards

1 Answers
Abu Ghufran Staff answered 2 years ago

As we create select query at runtime using the sorting and search field selected on datagrid, It’s not doable to have fixed prepared statement here.

We do use prepared statements while insert and update.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

4 + 8 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?