As part of one of our uni assignments we have to do some wml and gather information from mysql. Can I use php in there to get data? I can't figure out how I would connect to a database from it.
For example, how would I dynamically create the list below, based on records from the DB?
Is it as simple as making a normal php script and just generating the basic wml tag output (card,wml,do,go, etc)? And then naming it blah.wml?
Also is there any good software for testing it on? If you load it up in apache it just gives you the option to download the file.
W3Schools recommends Nokia Mobile Internet Toolkit, but it sounds a bit biased...
Thanks for any info! I'm a bit lost with WAP stuff, my phone doesn't even support it
For example, how would I dynamically create the list below, based on records from the DB?
Code:
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Tutorial">
<do type="accept" label="Answer">
<go href="#card2"/>
</do>
<p>
[B]<select name="name">
<option value="HTML">HTML Tutorial</option>
<option value="XML">XML Tutorial</option>
<option value="WAP">WAP Tutorial</option>
</select>[/B]
</p>
</card>
<card id="card2" title="Answer">
<p>
You selected: $(name)
</p>
</card>
</wml>
Is it as simple as making a normal php script and just generating the basic wml tag output (card,wml,do,go, etc)? And then naming it blah.wml?
Also is there any good software for testing it on? If you load it up in apache it just gives you the option to download the file.
W3Schools recommends Nokia Mobile Internet Toolkit, but it sounds a bit biased...
Thanks for any info! I'm a bit lost with WAP stuff, my phone doesn't even support it
