linchen
Forum Replies Created
-
Hi
i found the problem, it works only if you use php without space`<?php
include(‘www/user/httpdocs/include.php’);echo $hallo;?>`Thanks
LinchenHello Tobias
i tryed with absolute path, with http path and all what i found in the internet but it doesnt work.Regards
LinchenHello again
the problem is the include of the file this example work<?php $hallo="hallo"; echo $hallo; ?>
Regards
LinchenHallo Tobias
thanks for your patience
your cell code show me a error:Parse error: syntax error, unexpected '>' in /httpdocs/wp-content/plugins/wp-table-reloaded-extensions.php(16) : eval()'d code on line 1
Regards
LinchenHello Tobias
i was trying the include.php is included or not in the widget.
Sorry for my not really good description.
This is correct<?php include_once('include.php'); echo "$hallo"; ?> [table id=8 /]
Include php
<?php $hallo="hallo";?>
Widget
<?php include_once('include.php'); echo "$hallo"; ?> [table id=8 /]
Table 8 (cell)
echo "$hallo";
Widget is empty, cell is empty
Regards
LinchenHi
i installed PHP code widget now, but same result.<?php include_once('include.php'); echo "$hallo"; [table id=8 /] ?>
Regards
LinchenHello Tobias
thanks for your answer.For show php in the posts i use the plugin PHP Execution.
I have to include the include.php in every post for use the variables.The Error Log is empty.
I put a table in the widget (text), maybe thats the problem ?
Regards
LinchenMe again
Cache Table Output: The resulting HTML output of the table shall be cached in the WordPress database cache for faster page generation.
is not activated.Regards
LinchenThanks Tobias
if i write in my Post<?php echo $hallo;?>
everything is fine
but if i write this in the table cell with global or without the cell is empty. Turn off caching ? Where ?Regards
Linchen