Insert function name with php
<p>I'm trying to do a simple task, insert a second function name under "onmouseover" but probably something is wrong with the syntax.</p>

<pre><code>echo '&lt;div onmouseover="changeText(); &lt;?php if($title==""){echo changeViz();}; ?&gt; "&gt;';
</code></pre>

<p>I probably need to escape some quotes and add some, but i can't figure out the correct solution.
Thanks</p>

<p>Nothing it's working. Let me give you the complete code...: </p>

<pre><code>echo '&lt;div class="frame" onmouseover="changeText(\''.$text[$i].'\'); &lt;?php if($title[$i]==""){echo changeViz();}; ?&gt;"&gt;';
</code></pre>
