We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Anchor with action

Development and Programming

milogdm's avatar
milogdm
4 posts
14 years ago
milogdm's avatar milogdm

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.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.