A few simple codes for variables in a document template.

Discussion in 'HTML & Website Design' started by Markers, Jan 31, 2011.

  1. #1
    Hi.I think it should be a bit easy,anyway,i found nothing in fact that searched for 3 days.

    How can i place variables and make documents from document templates with html? (Or any other easy wayi,though)

    Lets say i have the document template above.VAR1,VAR2 and VAR3 is variables.

    I want to create form that ask's for VAR1,Var2 and Var3 and automaticly gives me the document with variables placed.It's just that simple.

    [center][img]VAR1[/img][center]
    
    [b]This is bla bla cuz VAR2 needs to be changed,VAR3 follows it an whoa! there's a document.[/b]
    Code (markup):
     
    Markers, Jan 31, 2011 IP
  2. vchris

    vchris Greenhorn

    Messages:
    36
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    18
    #2
    Your question is not really clear. This cannot be done in plain html. You will need JavaScript or server side scripting like php.
     
    vchris, Feb 1, 2011 IP