Use an ampersand (&) like follows:

echo "<a href=\"passtest.php?i={$i}&j={$j}\">Press to continue</a>";

-Dash

Faith, n:
        That quality which enables us to believe what we know to be
untrue.

On Wed, 9 Oct 2002, db wrote:

> this is a follow-up question to my question about passing a variable through
> a link  ie,
>
>     echo "<a href='passtest.php?i={$i}'>Press to continue</a>";
>
> how would i go about passing more than one variable, say $i and $j?
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to