Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > PHP, WML and Mysql

Reply
Thread Tools

PHP, WML and Mysql

 
 
Dom
Guest
Posts: n/a
 
      09-03-2004
I am trying to convert this file so that I can use it with a WAP
Emulator. Can anyone help me to convert it. I have tried what I
thought was correct but keep getting error messages.

<html>



<body>



<?php



$db = mysql_connect("localhost", "root");



mysql_select_db("mydb",$db);



$result = mysql_query("SELECT * FROM employees",$db);



printf("First Name: %s<br>\n", mysql_result($result,0,"first"));



printf("Last Name: %s<br>\n", mysql_result($result,0,"last"));



printf("Address: %s<br>\n", mysql_result($result,0,"address"));



printf("Position: %s<br>\n", mysql_result($result,0,"position"));



?>



</body>



</html>



Also can anyone recommend a good WAP Emulator to use with Mysql and
PHP.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WML and WMLS vijayarya326@gmail.com Computer Support 0 09-27-2007 07:56 AM
Mysql PHP and WML Dom XML 2 09-03-2004 11:09 PM
Template in wml and ASP.NET Sara T. ASP .Net Mobile 0 04-16-2004 12:14 PM
WML and color display Sara T. ASP .Net Mobile 0 04-12-2004 09:38 AM
WML and color Sara T. ASP .Net Mobile 0 04-12-2004 04:30 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57