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 "";
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 "="
";
echo "http://www.wapforum.org/DTD/wml_1.1.xml\">";
?>
";//HELP1
require ("funksjoner.php");
$tabfag=finnfag();
if (mysql_num_rows($tabfag) > 0)
{
while ($row = mysql_fetch_array($tabfag))
{
print "$row[fagbeskrivelse]";
}//while
}//if
$temp=$fagkode;
?>
Done.
//HELP2
0)
{
while ($row = mysql_fetch_array($tabfag))
{
print "$row[dato]";
}//while
}//if
?>
Done.
go $(fagkode) $(dato)// just another test, and is working fine so i can see both WML
variables from other cards
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]