I have the following code which I use in PHP-Liquid template engine. I want the ability to add or delete rows trough phpMyAdmin instead of adding/deleting new arryas. So I need to use MySQL, but how should I proceed to work it out with my example?
$assigns = array(
'blog' => array(
array(
'title' => 'Blog Title 1',
'content' => 'Nunc putamus parum claram',
'tags' => array('claram', 'parum'),
'comments' => array(
array(
'title' => 'First Comment',
'message' => 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr'
)
)
)
)
);
print $liquid->render($assigns);