I have this array
$temp_links_query=mssql_query("SELECT*
FROM temp_link_doc
WHERE document_number = '$document_number'
");
while($row_2=mssql_fetch_array($temp_links_query))
{
$link_doc_1=$row_2["link_doc_1"];
$link_doc_2=$row_2["link_doc_2"];
$link_doc_3=$row_2["link_doc_3"];
$link_doc_4=$row_2["link_doc_4"];
$link_doc_5=$row_2["link_doc_5"];
$link_doc_6=$row_2["link_doc_6"];
$link_doc_7=$row_2["link_doc_7"];
$link_doc_8=$row_2["link_doc_8"];
$link_doc_9=$row_2["link_doc_9"];
$link_doc_10=$row_2["link_doc_10"];
$link_doc_11=$row_2["link_doc_11"];
$link_doc_12=$row_2["link_doc_12"];
$link_doc_13=$row_2["link_doc_13"];
$link_doc_14=$row_2["link_doc_14"];
$link_doc_15=$row_2["link_doc_15"];
$link_doc_16=$row_2["link_doc_16"];
$link_doc_17=$row_2["link_doc_17"];
$link_doc_18=$row_2["link_doc_18"];
$link_doc_19=$row_2["link_doc_19"];
$link_doc_20=$row_2["link_doc_20"];
}
I need to output the results within MAIL()
My question is, How do I create a variable that I can place in the MAIL() function so I can email the results?
The output of the array is different every time, sometimes it is 3 elements and sometimes it is all 20 elements.
I hope I am explainig this properly
any help is appreciated(need to seep some time)
Christopher