|
-
Nov 26th, 2000, 11:06 AM
#1
Thread Starter
Lively Member
Say that you have 4 textboxes on a form.
you want to take the text value of each text box and then input that data into a HTML.
You also need to have the value of Text1.Text, to be the name of the HTML page?
Anyone know how to do this?
-
Nov 26th, 2000, 12:25 PM
#2
Addicted Member
Create a template page in your favorite HTML editor.
Then, in each spot where you want data to go, place a "marker". For example:
<html>
<head>
<title>
This is the name of my page: %title
</title>
</head>
<body>
Here is data 1: %text1<br>
Here is data 2: %text2<br>
Here is data 3: %text3<br>
Here is data 4: %text4<br>
</body>
</html>
And then, in your program do this:
open the file
input the data into a variable
then do this:
Variable = Replace(Variable, "%title", title.text)
etc...
then save it.
Voila!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|