The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Adding data from different forms
Zebra555
post May 15 2016, 07:59 PM
Post #1





Group: Members
Posts: 1
Joined: 15-May 16
Member No.: 24,248



I am a total novice, and have extremely basic knowledge of HTML so apologies ahead of time!
What I am trying to do is bring data from a number of attachments on to one covering note. ie the note is a summary of the attachments.

I have managed to get the information to come through for the first attachment, but can't get the subsequent ones to be read. This is my script:

<tr valign='top'>
<td> </td>
<td colspan='3'><h2>Summary</h2></td>
<tr valign='top'>
<td> </td>
<td align='right'><b>Account:  </b></td>
<td align='left' colspan='2'>$$CUSTNO</td>
</tr>
<tr valign='top'>
<td> </td>
<td align='right'><b>Location:  </b></td>
<td align='left' colspan='2'>$$LOCATION</td>
</tr>
<tr valign='top'>
<td> </td>
<td align='right'><b>Balance:  </b></td>
<td align='left' colspan='2'>$$BALANCE</td>
</tr>
<tr valign='top'>
<td> </td>
<td align='right'><b>Due:  </b></td>
<td align='left' colspan='2'>$$LDUEDT</td>
</tr>
<tr valign='top'>
<td colspan='4'> </td>
</tr>
<tr valign='top'>
<td> </td>
</tr>
</table>


The data is all in the same fields for the different attachments eg $$CUSTNO is the same for each of the attachments.
What I want my final document to look like is :


Hi,
attached are your invoices:
Customer Numbers:
A12343
B51934

any help would be much appreciated.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
CharlesEF
post May 16 2016, 01:16 AM
Post #2


Programming Fanatic
********

Group: Members
Posts: 1,981
Joined: 27-April 13
From: Edinburg, Texas
Member No.: 19,088



What server side language do you use, PHP, ASP? We would need to see the code that reads the attachments, the code that creates the $$ variables..
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th March 2024 - 05:31 AM