Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Databases _ Adding data from different forms

Posted by: Zebra555 May 15 2016, 07:59 PM

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.

Posted by: CharlesEF May 16 2016, 01:16 AM

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..

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)