Hello,<br><br>I'd like to put a form on my Pmwiki. I generate the form by php.<br><br>So I call the php code in the wiki through (:ostincontact:)<br><br>here is my cookbook (simplified):<br><br><?php if (!defined('PmWiki')) exit();
<br><br>Markup("ostincontact",'<[-',"/\\(:ostincontact:\\)/", ostincontact());<br><br>function ostincontact(){<br> $maforme="<form enctype='multipart/form-data' action='' method='post'><input type='hidden' name='pagename' value='
Contact.Contact' /><br> <table border='0'><br> <tr ><td align='right'>Pr&eacute;nom:</td><td align='left'><input name='' value=''> </td></tr><br> <tr ><td align='right'>Nom:</td><td align='left'><input name='' value=''> </td></tr>
<br> </table><br> <p class='vspace'></p><br> <p><input type='submit' name='ok' value='&nbsp;&nbsp;Envoyer&nbsp;&nbsp;' ></p><br> </form><br>";<br><br>return $maforme;
<br>}<br><br><br>The problem: the text returned by the function ostincontact() is after reinterpreted by the other markups (in particular single quotes '' in emphased style)<br><br>the following returns the same as before but surrounded by <pre> ... </pre>
<br><br>Markup("ostincontact",'inline',"/\\(:ostincontact:\\)/", ostincontact());<br><br>Is there a way to not interpret the code returned by the function ostincontact()?<br><br>Like the wikini syntax {{php_script_name}} .
<br><br>Cheers,<br><br>Vincent<br><br><br>