NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Re-Indent mixed file (PHP & html)


Joined: 04 Nov 2015
Posts: 3
Reply with quote
Hi there

First of all; sorry for my english! Wink

In my Projects i often have mixed files - PHP and HTML (the files are saved as *.php).

When i use the function "Re-ident Code" everything works fine - except one Thing:

The closing-tag with bracket...
<?php } ?>
... only within html-areas is too much indented.

Code:

<?php
    $aArray = array();
?>
<html>
    <head>
    </head>
    <body>
        <?php foreach ($aArray as $i => $data) { ?>
            <p>...</p>
            <?php } // - this line sould be more left ?? ?>
    </body>   
</html>
<?php
    // some php here
?>



Here i uploadet also an image:
[img]http://www.tiikoni.com/tis/view/?id=bb93c4c[/img]

Is this "normal" - can i configure this?

(i'm using PhpED v.16)

Thank you in advance!
greeets
kuisli
View user's profileFind all posts by kuisliSend private message
Re-Indent mixed file (PHP & html)
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic