Subject: Re: Pass variables through URL
From: Jen Jiang <zhenjiang14221@xxxxxxxxx>
Date: Tue, 19 Oct 2004 19:12:56 -0700 (PDT)
|
I tried this solution but the variables still didn't
get passed to the PHP. This PHP file should generate a
bar chart whose values are passed through the url in
the xslt file. But I got a chart without bars, which
means the variables were not passed.
This confuses me because in xslt file I can print the
variable values but in PHP it's empty.
--- "Werner, Wolfgang" <mail@xxxxxxxxxxxxxxxxxxx>
wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Jen,
>
> I removed all the imports from your file to test it
> and it worked:
> ~ <img
>
src="./php/chart_age.php?age1=30&age2=10&age3=30&age4=10&age5=20&age6=0&age7=0&age8=0">
>
> Perhaps you are changing the context accidentally
> somewhere.
> I'd try to change the line
> <xsl:for-each select="ROOT">
> to
> <xsl:for-each select="/ROOT">
> to find the root element regardless of your context.
>
> Wolfgang
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (Cygwin)
> Comment: Using GnuPG with Thunderbird -
> http://enigmail.mozdev.org
>
>
iD8DBQFBdMeqqjaicDyx8o8RArTtAJ9ukGErhyvsLtbaMQyMrgiBQSCKxgCeIyPm
> lbQ7ecp6+ky3CeqN8yhWB4s=
> =UQiN
> -----END PGP SIGNATURE-----
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
| Current Thread |
- Re: Pass variables through URL, (continued)
- Jen Jiang - Sun, 17 Oct 2004 13:54:22 -0700 (PDT)
- Werner, Wolfgang - Mon, 18 Oct 2004 09:33:02 +0200
- Jen Jiang - Mon, 18 Oct 2004 18:33:29 -0700 (PDT)
- Werner, Wolfgang - Tue, 19 Oct 2004 09:52:11 +0200
- Jen Jiang - Tue, 19 Oct 2004 19:12:56 -0700 (PDT) <=
- Werner, Wolfgang - Wed, 20 Oct 2004 09:28:02 +0200
- Jen Jiang - Sun, 24 Oct 2004 16:15:54 -0700 (PDT)
- David Carlisle - Mon, 25 Oct 2004 00:24:44 +0100
- Jen Jiang - Sun, 24 Oct 2004 17:33:57 -0700 (PDT)
|
|