|4.11 How to I access a database from WML?|
The Wireless Markup Language does itself of course not include any database interface, nor does HTML. For those who come from the "web" world, you've most likely used some form of server script language such as PHP, ASP or Perl to perform this task. Exactly the same can be done when the user agent is a WAP device.
There is absolutely tons of excellent documentation on interfacing with databases for "web" applications available, and almost all of this can be used directly in the wireless environment. Really, the only difference is that the output needs to be in WML and not in HTML. Most of the work interfacing with databases has absolutely nothing to do with WML or HTML, and it would be a complete waste of time to rewrite this documentation in this FAQ.
Just to give you a few pointers, here's a few links. And remember that these scripts are for HTML user agents, but all you need to do is make sure the output is in WML and not in HTML.
PHP driven databases at PHP Code Exchange
And for those of you that are really lazy, try these:
Search for "How do I access a database from PHP?" with Google
|[ Main ] [ 04 - Serving WML contents ]|
© Copyright The Wireless FAQ. All Rights Reserved. Terms | Site Map