Trouble when trying to start with sqlite database

QuestionsTrouble when trying to start with sqlite database
Vladimir Ota asked 6 years 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 6 years 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
Grid 4 PHP Framework
 
Your Answer

19 + 15 =

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?