PHP Code showing in split screen...

User 3043207 Photo


Registered User
3 posts

My problem is that if I have a bit of PHP code like <?php echo ">";?>, for example, it appears to delimit the php code and show the rest of that code in the split-screen design panel.

So this in the coding section:
<?php
/* Generated by the CoffeeCup HTML Editor - www.CoffeeCup.com */
echo "<br />";
// The rest of this php section should not show in the split-screen section but does
$a=1;
$b=2;
?>
<br /><br />This part should show in the split-screen section and does

Gives this in the design view section:
";// The rest of this php section should not show in the split-screen part but does$a=1;$b=2; ?>

This part should show in the split-screen design section and does

Coffee Cup support say it is a coding issue but I am not convinced. Help please?

In attached file line 178 is terminating the PHP code early I beleive.
Attachments:
User 187934 Photo


Senior Advisor
20,186 posts
Online Now

I'm looking into this as I always upload to preview so never noticed any issues.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 3043207 Photo


Registered User
3 posts

Hi Eric,

Did you get anywhere at looking into this please?
User 187934 Photo


Senior Advisor
20,186 posts
Online Now

Yes, have not gotten any answers yet.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 3043207 Photo


Registered User
3 posts

Ok, thanks, have you been able to replicate the problem?
User 187934 Photo


Senior Advisor
20,186 posts
Online Now

Hi Karl.
As I figured was the case you will need to upload to a server or setup a php server on your local machine using WAMP.
There's no local preview of php within the Editor.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.