Insert php code in embedded layout

Embedded modules run client side i’m afraid and therefore don’t have access to PHP.

You’d need to author your own Xibo module to do that. http://xibo.org.uk/manual/en/advanced_modules.html