I totally agree, especially with the last point. It’s better to be nice than to fight fire with fire, especially with who knows less and with who tends to vary their character by too much when someone tries to help the other.
I also agree with that! I sometimes make some mistakes, but I promptly correct them when I finally get the prompted things the user missed. I can also find out errors in their side and correct them.
It’s OK; I also tend to not have any errors while working on my blog, which also uses WordPress, and tend to solve them myself if I ever happen to have one.
And well, what was meant to be my main topic on this topic (so the daily like limit) is now yours; don’t worry, in some days and after you read some more you’ll get the trust level that will allow you to like more a day!
That is because the part that comes before <?php and those between ?> and other HTML tags are effectively spaces in HTML, which is treated as plaintext. PHP output plaintext as is, that’s why.
One way of solving this is to group all PHP code at the top of the file as a big PHP block (that is - if your code is contained in a single file and without any MVC frameworks), then output anything else as per needed below to reduce the chances of needing multiple indentations across 2 languages.
Usually, this cannot be completely avoided but you can get desirable results if you can compromise the IDE side of indentation.
Yes, I know. My question was purely because I like to keep things nice and organized, so when that happens I just get annoyed. Thank you for your help, though!
This is quite interesting, PHP is smart enough to know that when it’s ending tag is also the end of the line, it removes the following EOL for you. You can try adding a space after ?> so it keeps the line break if you like.
Since there is no announcement on the Byet forums about it yet, I have hope this will be improved. As mentioned on the article, it seems like the current version is an early access release, so the limitations should hopefully be overcome in the “final edition”: