|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
not well formed with php/wml
I get a "not well formed" error with this code. I cant seem to find anything wrong with. But then again im quite sleepy right now because its 3am. Anyways, here is the code:
Code:
<?php
header("Content-type: text/vnd.wap.wml");
echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\""
. " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
?>
<wml>
<card id="email2" title="feedback">
<p>
<?php
// determine whether email was properly sent
if (mail($Email,$Subject,$Message, "From:<jailbox.yahkiddin.com>")) :
print "Message has been sent to $Email";
else :
print "Could not send message to $Email";
endif;
?>
</p>
<p><a href="http://jailbox.yahkiddin.com/index.php#index>back to index</a></p>
</card>
</wml>
|
|
#2
|
||||
|
||||
|
Missing a quote in the final href!
__________________
Cheers, Jamie # skiFFie | Home of the 'accessibility module' for Drupal # Jamie Burns [me] Accessibility Module [drupal] # guidelines | search | wap resources | not getting help | fold to cure # Any form of employment is strictly prohibited ...... __________________ Let the might of your compassion arise to bring a quick end to the flowing stream of the blood and tears ..... Please hear my anguished words of truth. __________________ |
|
#3
|
|||
|
|||
|
Oh, yeah. Thanks
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > not well formed with php/wml |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|