Hi,
Thank so much for your help.
When I used echo "<a href =\"http://www.blast..com\">"
.$row["AccNum"] . "</a>", I could retrieve AccNum.
Assume that my input AccNum 888, after I retrieved related information from database and AccNum, I want to make dynamic link to do further search. my hyperlink should be like followed.
http://www.blast.com/query?db=2&form=1&term=888.
So I tried to write code:
Code
echo ("<a href =\"http://www.blast.com/query?db=2&form=1&term=AccNum\">" . $row["AccNum"] . </a>");
After I clicked the AccNum hyperlink, I couldn't reach the direct link because hyperlink was changed into http://.../query?db=2&form=1&term=AccNum, not actuall number like 888.
If I tried to write alternative code like
Code
echo ("<a href= \"http://../..$term= $AccNum\">" .$row["AccNum"] . "</a>");
After clicked hyperlink, hyperlink's term is blank, no result either.
If I tried this way
Code:
---------------------------------------echo("<a href=\"http//www.blast.com/query?db=2&form=1&term= . $row["AccNum"] . \">" .$row["AccNum"] . "</a>");
Then I got parser error, expecting "T_String" or "T_Variable" or "T_Num_String".
Have any suggestions.
HR