June 28th, 2003, 10:35 AM
database + WAP
hi, ive read the tutorials on devshed, and can use basic WML / WMLscript etc,
(i) can you connect to a mysql database directly using WMLscript
if so, how? and are therea ny predefined functions / classes.
(ii) can you do mysql via PHP, and if so how? has anyone got a tutorial on getting form vars from WML into a mysql databse?
thanks in advance.
(i) WML Script is a client side language, MySql is server side database so it could communicate. You may use a server side language (jsp, php, perl ...)
and how can i pass info to php scripts ?
July 14th, 2003, 09:37 AM
The following is a good starters PHP/MySql tutorial. It will show you how to start a simple database and pull the info out via PHP into client side HTML.
To extend this a little further and make it WML compatible, you just need to set the WML headers in the PHP page.
Once you get this working, getting data from WML into your database, doing queries on your database based on a selection in WML is easy.
Let me know if you have any questions on this.