#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2006
    Posts
    33
    Rep Power
    14

    Get PHP script to display results as wml


    My script returns results as plain/text how can I get these as wml?
  2. #2
  3. It
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Sep 2003
    Location
    UK
    Posts
    1,222
    Rep Power
    372
    Before all output:
    PHP Code:
    header('Content-type: text/vnd.wap.wml'); 
    Edit: This is actually in the FAQ. Please read stickies first.

    Comments on this post

    • jabba_29 agrees
    • andymoo agrees : Yup which is why I never bothered saying anything. Check stickes, read the manual and google it.

IMN logo majestic logo threadwatch logo seochat tools logo