pls any one can help me how to pass parameter to crystal report.pls c the line where i have underlined.
awaiting fro ur call
the code is as follows:
<?php
$code = "<html>";
$code .= "\n\t<head>";
$code .= "\n\t<script language='javascript'>";
$code .= "\n\tfunction BtnClick(par) {";
$code .= "\n\tswitch (par) {";
$code .= "\n\tcase 'Report' :";
$code .= "\n\tlocation.href = './hcfa.rpt';";
$code .= "\n\tbreak;";
$code .= "\n\tdefault:";
$code .= "\n\talert(par); }";
$code .= "\n\t}";
$code .= "\n\t</script>";
$code .= "\n\t</head>";
$code .= "</table></td></tr></table><table border=0 cellpadding=0 cellspacing=0 width=100%><tr><td width=100%><table width=100%><tr><td width=50%> </td><td align=center>";
$code .= "<td align=center><img src=./img/report.png name= Export alt='Export HCFA' onclick='BtnClick(\"Report\")'></td>";
$code .= "</td></tr></table></td></tr></table></center>";
$code .="</html>\n";
echo $code;