call a function within jquery dialog()
<p>I am using jquery dialog() so a popup comes up. I want to call a php function to display information in the popup. 
  my code is</p>

<pre><code> $(document).ready(function() {
                $( "#dialog-form" )
                    .dialog({
                        autoOpen: false,
                        title: "Add Images",
                        //buttons: {"Cancel": function() { $(this).dialog("close"); }},
                        draggable: false,
                        resizable: false 
                });

                $("#addImage").click(function() {
                    $( "#dialog-form" ).dialog("open");
                    return false;
                });
                });
    &lt;button id="addImage"&gt;Add Image&lt;/button&gt;
        &lt;div id="dialog-form"&gt; &lt;?php function show_php(); ?&gt;
        &lt;/div&gt;
</code></pre>

<p>Then I have function below: 
function show_php(
echo "I need to put php code here"
); 
How do I call the function show_php(); is this possible using jquery dialog();?</p>
