Trouble when trying to start with sqlite database

QuestionsTrouble when trying to start with sqlite database
Vladimir Ota asked 2 months ago

I am trying to begin with help of example which I found at http://pastebin.com/KNZE7Zrj .Obviously I made changes to adapt to my server’s folders layout, and haven’t touch anything else. However when I try to run the example I get following (every time):

set_options($grid); // set database table for CRUD operations */ $g->table = “Log”; $g->set_columns($cols); // render grid $out = $g->render(“list1”); ?> You must have SQLite extension installed for this demo.

When I try to step through example, no errors are reported. My PHP have PDO and Sql extension installed and enabled (and tested). Any idea what I should try to solve the issue?

Regards, Vladimir

 

1 Answers
Abu Ghufran Staff answered 2 months ago

If you see PHP code on screen, then there must be some PHP tags <?php ?> missing in code.
Please share your complete code for review.

_________________________
Abu Ghufran - Dev Team
PHP Grid Framework
 
Your Answer

4 + 20 =

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 / 5. Vote count:

As you found this post useful...

Follow us on social media!

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

Let us improve this post!