This is an archived bug report. If you are experiencing a similar issue, upgrade to the latest release and if that does not solve the problem, submit a new bug report
Hi,
I’m using EE 2.0.1 - latest build.
I’ve found that using {title} within <?php echo ‘{title}’; ?> - would break..but other standard elements do not break it e.g.
<?php echo '{entry_id}'; ?>
or
<?php echo '{url_title}'; ?>
I created a blank page with php on and on output
with just the following:
{exp:query sql="SELECT title, entry_id, url_title AS urlt FROM exp_channel_titles WHERE channel_id = '6' ORDER BY title ASC"}
<?php echo '{title}'; ?>
{/exp:query}
It breaks, you take {title} out of the php it works fine, unfortunately for me I neeed to echo the {title} within php.
ExpressionEngine implements Markdown Extra and BBCode. Please see the Markdown Extra docs and the BBCode Wikipedia article for a full reference.
**bold**
, __bold__
, *italics*
, _italics_
, ~strike/del~
, `code()`
bold, italics, strike/del, code()
Link: [link title](https://example.com)
Image: ![alt text](https://example.com/image.jpg)
[blockquote]...[/blockquote]
, [quote]...[/quote]
, and Markdown style:
> Some quoted text. > > This is all one quote.
[code]...[/code]
, and you can also specify the language for syntax highlighting, [code=php]...[/code]
GitHub flavored Markdown code fences are also supported:
``` public function decoderRing($str) { return str_rot13($str); } ```