I am not sure if this is the accepted way of posting a "thank you", but just
wanted to thank you for your help. It was most appreciated. I invested in
a couple of good books this morning. :o)
> PHP and the backing store database are both orthogonal to WAP (which is
> really HTTP, just a different content type). PHP can return pretty much
> any type of content you want; i.e.
>
> header("Content-type: text/vnd.wap.wml");
> echo("<?xml version=\"1.0\"?>\n");
> echo("<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"
> \"http://www.wapforum.org/DTD/wml_1.1.xml\">\n\n");
>
> As for querying a database and formatting WAP out of it, there are many
> examples on the Web. Google search "PHP MySQL". Many of the examples
> return HTML-formatted data, but formatting it in WAP is easy too.
>
> Good luck,
>
> --Michael
>
> > -----Original Message-----
> > From: 2Hosts.com [mailto:hosting@stripped]
> > Sent: Sunday, May 25, 2003 10:05 AM
> > To: mysql@stripped
> > Subject: SQL and WAP? (newbie)
> >
> >
> > I am learning SQL and need to create the following :
> >
> > 1. WAP pages where users can add (and maybe even edit or
> > delete) data to the SQL databases via cellphone/PDA
> >
> > 2. Regular html pages ditto above, plus html pages to search
> > or view the database.
> >
> > I have managed to learn how to create databases and tables,
> > and INSERT INTO, etc, but how do I get this from raw SQL
> > database onto some kind of a web page. So far my learning
> > sessions have been pretty trouble free, even though they
> > haven't got any further than telnet sessions.
> >
> > I think I need to steer clear of PHP so as to remain WAP
> > compliant? Or is the PHP only required when displaying data
> > (which is more likely to be on a regular web browser) and can
> > still use static HTML (WAP compliant) for adding data to the database?
> >
> > This doesn't seem to be covered in any of the books I have seen.
> >
> >
> >
> > --
> > MySQL General Mailing List
> > For list archives: http://lists.mysql.com/mysql
> > To unsubscribe:
> > http://lists.mysql.com/mysql?> unsub=michael@stripped
> >
> >
>
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe: http://lists.mysql.com/mysql?unsub=1
>