Update problem with Shortcodes and PHP code in table cells
-
Hello,
My problem initialy concerns Shortcodes update in table cells but it’s the same problem with a simple PHP code with the “PHP code in table cells” extension.
If i just put the following line in a cell and refresh the page in my Web browser :
<?php echo date(“H:i:s”)?>Then there’s two solutions :
– if i am connected on my website, everything is fine and the time is update each time i refresh my browser
– if i am not connected, the time is never update until i connect on WordPress, go on my dashboard and save the table. The time is updated one time and then time never update again when i refresh.My real problem is with a shortcode which contain php code inside for connecting to my SQL database. But it’s the same problem of refreshing the time, i think.
Does anyone have a solution for that?
Thanks in advance.
FX
The topic ‘Update problem with Shortcodes and PHP code in table cells’ is closed to new replies.