Jump to content

passing a genereted ol to a mailer form in a hidden field


Recommended Posts

I have a function which makes an <ol> based on users selections. The function displays once on the page fine.

 

I want the option to mail out the results and I'm trying to hide the second instance of the ul by calling the function a second time in either a hidden field, a text field or a text area (either of the second two enclosed by a hidden div). I've tried all three and can't seem to get any of them to work.

 

<div id="profile">
  
  
    <?php profiler(); ?>

</div>

   <form action="craigmail.php" method="POST">  
  <input type="text" name="craigprofile" value="<?php profileTxt(); ?>">
  
</div>  
<p>would you like to send this as a response to a craig's list personal?</p>
   
  <input type="submit" value="Click Here" class="buttonSubmit" /> 
    </form>	  

 

here's the current piece of code that i'm using, but what seems to be happening is it hits the first closing bracket ">" in the code and then makes the rest of the list as normal

 

anyone have any suggestions on how I can pass this through to my mailer page?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.