Hello there,
I am a beginner in php, so maybe my question is obviouse and if so I appologize. However, I tried to implement the AVH Amazon plugin into one of my wordpress content pages.
I installed the php interpretator so php can be postet in normal pages and added the code:
<?php $avhwidget=& new WP_Widget_AVHAmazon_Wishlist();$avhwidget->widget(array,1); ?>
and it results in the following error (stars are to protect my structure):
Parse error: syntax error, unexpected ‘,’, expecting ‘(‘ in /home/*******/*******/blog/wp-content/plugins/php-execution-plugin/includes/class.php_execution.php(273) : eval()’d code on line 1
Any idea what I am doing wrong?