set variable to string containing variables to be evaluated later
by tom, July 19, 2005 14:06
So here's the if statement, need to print a string then set a url based on the $function$ variable:
what a mess huh?
then I start a table, print the table header row, then attempt to process each row of the sql query with the value of urlString being part of one column. This is where I want the variables to be evaluated:
<!--eachrow--> <tr align='center'><td><a href=$urlString$>PP.JLENS.$category$-$docnumber$$revision$</a></td><td>$title$</td><td>$author$</td><td>$sdate$</td></tr> <!--endrow-->
I've gotten all sorts of weird results by trying different combinations of $eval on the entire url vs. $eval on individual variables, putting quotes here and there, using $url and $varstr... figured it was time to ask the experts.
I have it working with a workaround of testing the $function$ variable twice... once above the table to get the string to print, then once below the table to get the url. That's just bad programming though... would prefer to fix it.
Name E-mail optional TopicMessage:
HTTP Link: Link text: