Re: WML and PHP AND mysql
| From: | Andrew Apold | Date: | Thu, 08 Feb 2001 13:43:17 +0000 |
| Subject: | Re: WML and PHP AND mysql | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-6479@lists.php.net to get a copy of this message | ||
At 11:06 AM 2/8/01 -0000, Kato Strandjord wrote:
>Author: Kato Strandjord (katos.tihlde.org)
>Date: 06/02/2001 15:41
>
>I use apache server on win2000, php4, mysql and wml which I test local on my
>harddrive.
>
>The code under is working fine when I test it on emulators like UP SDK from
>phone.com. or other, but i have fooled it to use static variables which is
>not the solution i want.
>My problem is. How can I use my variable:
>print "<select name=\"fagkode\">";
>in this code under so that I can use its value in my php function:
>$tabfag=finnMeldinger($fagnr);
>I can see the WML variable if i print it out in WML, but i can not print it
>out as a variable in PHP. I have fooled the php function and put a static
>variable in it, instead of the dynamic WML variable, which is generated from
>a select list. I have tried for a week but al kinds of tricks did not work.
>At one time i got the value from WML to PHP, but it came out like this
>"=so480". The sign = was impossible to remove, so i could not use it. The
>correct value is "so480" with out the "="
once its in php, you can't just substr the part you want?
FWIW, I usually ended up calling seperate wml scripts (not cards) and passing
variables via get...
=============================
"To dwell within Samsara, however, is to
be subject to the works of those mighty
among dreamers."
- Mahasamatman, in Zelazny's "Lord of Light"
Andrew Apold