Ask Your Question
0

fields not updated

asked 2019-10-10 09:37:45 +0100

fbertoldi gravatar image

updated 2019-10-11 13:12:11 +0100

Today I tried successfully inserting some database data as fields in a odt file, but when I change data in phpmyadmin I get
1) a correct update in the data source view above the text,
2) not in the odt file (body: where are the fields): the fields texts remain unchanged, even after doing the command "update fields" (both from menu and from keyboard: F9, or shift+ctrl+F9).
Consider that I have inserted a query from mysql (mariadb) database, selecting some columns.

What's wrong?
Thanks.

EDIT
So, at the end it's a bug?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2019-10-24 17:25:04 +0100

fbertoldi gravatar image

updated 2019-10-24 20:00:07 +0100

A workaround is to use insert - section to insert a part of a php file via localhost.

  1. insert -> section -> link -> file name "http://localhost/[path]/[filename].php" -> section (the "id" name you have chosen in php file, i.g. inserting a div <div id="biblio">[php/mysql code]</div> the section name will "biblio")
  2. you will see in your odt file the content of the (section=div, of the) php file, as in the picture following:
    image description

Of course, you must previously

  • activate a php/mysql server in local
  • and possibly have some knowledge of html/php source code.
edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-10-10 09:37:45 +0100

Seen: 165 times

Last updated: Oct 24 '19