|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
(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 ...)
|
|
#3
|
|||
|
|||
|
Quote:
ok how? and how can i pass info to php scripts ? |
|
#4
|
|||
|
|||
|
Hi Jenkz,
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. URL 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. -m_stan |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > database + WAP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|