Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > RocketCake
Multiple inline php instances not working

g4hdu
Registered User
Quote
2022-08-17 08:46:55

I have been trying to get multiple instances of <?php ... ?> to work. The first tag executes successfully but all the rest just get displayed as text.

For example the following
<?php
echo "Hello ";
?>
<?php
echo "World";
?>


produces

Hello
<?php
echo "World";
?>


However, if I remove the middle php start and end tags it works fine

<?php
echo "Hello ";

echo "World";
?>


produces

Hello World


Any help will be much appreciated.

Using RC 4.6 64 bit, server supports php


niko
Moderator
Quote
2022-08-17 10:28:08

Works nicely for me. It maybe won't work when you have changed the font in the middle of the php code, even just font color or font size. Maybe that's the case?

You could try copying your code to notepad and then back to rocketcake (which then removes all the font attributes) and see if that helps.

If not, you can send me your .rcd file and I can have a look at it (see on this page support -> contact, there is also an email address printed)


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Interna?ional" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact