J
jdblackford
Hello,
I was wondering if it was possible to create simple program that will
create .txt (or .html) files based on information provided via
prompts.
For instance, if I wanted to create a file called 01.20.07.html based
off of a specific date (01 is MM, 20 is DD, 07 is YY) that looked like
this:
<html>
<body>
<table>
<tr><td><img src="http://www.mywebsite.com/01.20.07/1.JPG">
<td><img src="http://www.mywebsite.com/01.20.07/2.JPG">
<td><img src="http://www.mywebsite.com/01.20.07/3.JPG">
</tr>
<tr><td><img src="http://www.mywebsite.com/01.20.07/4.JPG">
<td><img src="http://www.mywebsite.com/01.20.07/5.JPG">
<td><img src="http://www.mywebsite.com/01.20.07/6.JPG">
</tr>
</body>
</html>
I would like to be able to enter the following information when
prompted by the program:
MM
DD
YY
Number of images
If possible, I would like to have the code know how many table rows to
create (in intervals of 3) based on the number of images.
Is this something someone here can assist with?
I was wondering if it was possible to create simple program that will
create .txt (or .html) files based on information provided via
prompts.
For instance, if I wanted to create a file called 01.20.07.html based
off of a specific date (01 is MM, 20 is DD, 07 is YY) that looked like
this:
<html>
<body>
<table>
<tr><td><img src="http://www.mywebsite.com/01.20.07/1.JPG">
<td><img src="http://www.mywebsite.com/01.20.07/2.JPG">
<td><img src="http://www.mywebsite.com/01.20.07/3.JPG">
</tr>
<tr><td><img src="http://www.mywebsite.com/01.20.07/4.JPG">
<td><img src="http://www.mywebsite.com/01.20.07/5.JPG">
<td><img src="http://www.mywebsite.com/01.20.07/6.JPG">
</tr>
</body>
</html>
I would like to be able to enter the following information when
prompted by the program:
MM
DD
YY
Number of images
If possible, I would like to have the code know how many table rows to
create (in intervals of 3) based on the number of images.
Is this something someone here can assist with?