Announcement

Collapse
No announcement yet.

embed a field into html

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • embed a field into html

    guys, i'm trying to insert a field ( $posts[field2] ) from the database into an html form.

    i'm sure it's just a quick on-off code segment like in vbscript's <% and %> delimiters; i'm just not a php guru (yet...)

    i want to put the user's location field into a form for immediate submission when they click the 'submit' button.

  • #2
    after looking a bit into some of the code in the templates, it appears that you can just plop it in there...

    but it doesn't appear to be working...

    Comment


    • #3
      this is what i have in the template:
      < INPUT TYPE="hidden" NAME="p" VALUE="$posts[field2]" size=21 >

      this is the source of the output html:
      < INPUT TYPE="hidden" NAME="p" VALUE="" size=21 >

      what did i do wrong?

      Comment


      • #4
        i'll post this on .org to see if any of the hackers knows how to do it.

        this can't be impossible.

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X