Thanks Brad, I have it set now. I forgot about the equals sign.

-Jason

On Jul 21, 2006, at 10:38 PM, Brad Perkins wrote:

Assuming $prisID is being set, you aren't outputting $prisID.

You can do this a few ways
<% write ($prisID) %>
or use the <%= shorcut as shown below.

<td> <a href="/displayPrisoner?id=<%= $prisID%>"> <% writebr ('[Person] FirstName [Person]LastName') %></a></td>

-- Brad

Jason T. Slack wrote:

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/




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


Jason T. Slack
Department of Psychology
Cornell University
[EMAIL PROTECTED]
            



_______________________________________________
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