• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

DW 21.1. - Strange PHP problem

New Here ,
Oct 05, 2021 Oct 05, 2021

Copy link to clipboard

Copied

Hi

 

DW CC 21.1 

 

PHP pages

 

Why DW do this (two >> ) ???

dw_problem.jpg

Ty 🙂

TOPICS
Code

Views

160

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 05, 2021 Oct 05, 2021

Copy link to clipboard

Copied

well, the question is... how did you get this happen, step by step...

 

before posting, I just try using the drop down menu, and got a nice

 

<?php require(""); ?>

 

with the cursor blinking just in between the two double quote, waiting for ma to enter the path file

 

and I also try using the autocomplete in code view... And when the ending PHP was closed... I was back in HTML without the three > caracter, as you got

 

 <?php require "footer.html"; ?>

 

so please, could you help us first to be able to reproduce your case ? or perhaps do you have a screen grab that demonstrates how this happen ?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 05, 2021 Oct 05, 2021

Copy link to clipboard

Copied

Hi

(sorry for my poor english but you will understand for sure :))

If I save php document, >> characters appear after the last php tag. Not when I write last tag..

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 05, 2021 Oct 05, 2021

Copy link to clipboard

Copied

I cannot repeat it.

Validate Live Code and fix reported errors.

 
 

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 05, 2021 Oct 05, 2021

Copy link to clipboard

Copied

LATEST

Validator is now busy so I can't validate my code. Maybe later 😞

Hmmmm... .I cannot repeat it too. I tested with small php code and no >> characters.

Yeah, I think that the fault must be in the code.... 😛

 

Thank you 🙂

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 05, 2021 Oct 05, 2021

Copy link to clipboard

Copied

That is what I said in the previous comment... I tried two ways of inserting a require function... and the triple chevron doesn't appear...

the best way will be that the OP send a screen grab, or as you said the page code

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines