Note that there are some explanatory texts on larger screens.

plurals
  1. POcan't include the .php file properly
    primarykey
    data
    text
    <p>I am trying to include different php files in the <code>index.php</code> file</p> <p>on my webpage</p> <p><a href="http://www.e-lang.de/index.php" rel="nofollow">http://www.e-lang.de/index.php</a></p> <p>but the contents are included as simple text. What I want is that they should be proper DOM elements not the text.</p> <p>here is my <code>index.php</code></p> <pre><code> &lt;div class="container"&gt; &lt;div class="navbar mt10"&gt; &lt;div class="navbar-inner"&gt; &lt;a href="#" class="brand"&gt;اردو ایڈیٹر&lt;/a&gt; &lt;ul class="nav"&gt; &lt;li class="active"&gt;&lt;a href="/"&gt;صفحۂ اول&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="index.php?page=start"&gt;رابطہ&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;/div&gt; &lt;?php include_once "editor.php"; ?&gt; &lt;!-- hidden inline form --&gt; &lt;?php include_once "emailform.html"; ?&gt; &lt;/div&gt; </code></pre> <p>and editor.php looks like</p> <pre><code>&lt;div class="well widget"&gt; &lt;div class="widget-header"&gt; &lt;h3 class="title"&gt;اُردوھے جس کا نام&lt;/h3&gt; &lt;/div&gt; &lt;div class="row"&gt; &lt;div class="span7"&gt; &lt;form method="post" action="save.php" id="text-container"&gt; &lt;input type="hidden" name="save" value="0" id="savetext"&gt; &lt;textarea rows="22" id="text-urdu" name="text" class="span7" dir="rtl" style="font: normal 25px Arial"&gt;&lt;/textarea&gt; &lt;/form&gt; &lt;div class="rel"&gt; &lt;div id="counter"&gt;&lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="span4" id="help-wrapper"&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="row"&gt; &lt;div class="span11"&gt; &lt;div class="well widget" id="buttons-listing"&gt; &lt;ul class="listing"&gt; &lt;li&gt;&lt;a href="#" class="button" onclick="print()"&gt;Print&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#" class="button" onclick="save()"&gt;Save&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#" class="button" onclick="pdf()"&gt;pdf&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="javascript:void(0)" onclick="tweet()" &gt;&lt;img src="webroot/img/tweet.png"&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#" class="button" id="btn_email" &gt;E-Mail&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload