Hi to everybody. I’m building a module, and I would like to edit some content generating an anchor like this:
echo anchor($form_action . "&id;=" . $single['id'] . "&site;_id=" . $single['site_id'], $single['tag_name']);</code></pre>
but I get a wrong anchor like that:
<pre><code><a href="C=addons_modules&M=show_module_cp&module=my_module&method=update_record&id=5&site_id=1">Anchor name</a>while I would like to get an anchor like the one I get with
echo form_open($form_action . "&id;=" . $single['id'] . "&site;_id=" . $single['site_id']);</code></pre>
that generate:
<pre><code><form action="index.php?S=eb00f605fc28c94c9acc64a403982a6b06e78414&D=cp&C=addons_modules&M=show_module_cp&module=my_module&method=update_record&id=5&site_id=1" method="post">does someone know how to do this?
Thanks.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.