I am working my way through developing a simple web app for a charity organization.

I have:

<%
        if (query params has("ql"))
                
                $value := get query param("ql")
                
                query ([Person];[Person]LastName=$value)
                
                $prisID := [Person]ID
                
                for each([Person]; $i)
                        if (($i % 2)=1)         %>   
                                <tr bgcolor=#CCCCCC>
                        <% else %>
                                <tr bgcolor=#FFFFFF>
                        <% end if %>
                
<td> <a href="/displayPrisoner?id=<%$prisID%>"> <% writebr('[Person] FirstName [Person]LastName') %></a></td>
                
                [snip]

I am trying to create a URL in the href above, but the $prisID is not showing up in the resulting URL

I am expecting something like: /displayPrisoner?id=1000

The above is something like what I would in a JSP page.

Any thoughts as to what I am doing wrong?

-Jason
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to