Jump to content

xhtml problem


sazzie

Recommended Posts

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>Hello world. Welcome to our mobile Calendar test interface</title>
  </head>

  <body>
  
    <p>Select Date</p>
    <form action="phpTest.php" method="post">
    	<select>
	  <option>Milk</option>
	  <option>Coffee</option>
	  <option>Tea</option>
	</select>
	<input type="submit" value="ENGAGE">
    </form>
    <hr />
    
  </body>
</html>

 

<?php
echo "Interface.php is active!";
?>

 

I am trying to get the above code to work.

 

Both on my mobile phone emulator and standard web browser(IE), instead of obtaining output from the php

script it tries to download the script.

 

Can someone please offer some help? ???

Link to comment
https://forums.phpfreaks.com/topic/41697-xhtml-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.