|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
dynamic WML?
Hi,
I am running Columbitech's WAP Connector with IIS. I have a website (html) which uses PHP to do stuff to a database (enter stuff form forms, return its contents etc...). My PHP scripts do SQL queries on my MySql database and dynamically produces HTML pages of the results. What I was wondering is if it is possible for me to use <go method="post" href="examplescript.php"> or something liek that and then to have examplescript.php to produce wml pages as output? If so, do I just echo wml code instead of regular html in the script or are there any special considerations? I hope someone can help me, I'm only very new to wml... Cheers Dodgie
__________________
Think of the most annoyingly simple question and I've probably asked it on here! |
|
#2
|
|||
|
|||
|
I have the exact same question.
I just recieved a contract to convert a e-commerce webpage to WAP. Im sure there is aspects of that page which will have to be dynamic. Wondering if this is possible.... |
|
#3
|
|||
|
|||
|
Hi eveybody,
I've wrote a few WAP games using Perl and WML. You could use PHP to produce WML output, if you want it to be used on a mobile phone all you have to do it echo the WML header and echo the WML code. Provided that the web server allows WML mime type of course. See below for an example i've provided it in a PHP compatible format :- // Prints the WAP header for the WAP browser echo "Content-Type: text/vnd.wap.wml\n\n"; // Uses the WAPFORUM's XML DTD echo "<?xml version=\"1.0\"?>\n"; echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \n"; echo "\"http://www.wapforum.org/DTD/wml_1.1.xml\">\n"; "echo your WML code here" hope that helped |
|
#4
|
|||
|
|||
|
Thanks, that's just what I needed to know...
Thankyou very much Richard |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > dynamic WML? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|