Need help with php ->echo
Posted: Tue Oct 07, 2008 9:58 am
Hi,
Im trying to hyperlink a file to a text in php. however, the hyperlink contains a unique number stored in a variable that is appended to the actual xls name at the end of my program i have developed. i am echo-ing through a php script.
echo'<p>MS Excel File:</p>';
echo'<a href=$session . "final_results.xls">EXCEL DOCUMENT OF RESULTS</a>';
is there something wrong in my href? $session contains the unique number that is appended to the the xls file.
When the web page is displayed and i click on the "EXCEL DOCUMENT OF RESULTS", it shows that it is referencing it to $session and not the "unique#"+final_results.xls
Im trying to hyperlink a file to a text in php. however, the hyperlink contains a unique number stored in a variable that is appended to the actual xls name at the end of my program i have developed. i am echo-ing through a php script.
echo'<p>MS Excel File:</p>';
echo'<a href=$session . "final_results.xls">EXCEL DOCUMENT OF RESULTS</a>';
is there something wrong in my href? $session contains the unique number that is appended to the the xls file.
When the web page is displayed and i click on the "EXCEL DOCUMENT OF RESULTS", it shows that it is referencing it to $session and not the "unique#"+final_results.xls