Help - Search - Members - Calendar
Full Version: Adding data from different forms
HTMLHelp Forums > Programming > Databases
Zebra555
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.
CharlesEF
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..
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2019 Invision Power Services, Inc.