Wml To Xhtml Help

Started on the old forum in January 2008 · view the original in the archive · old links redirect here

6 replies · 615 views · started 18 years ago · 1 min read

2 participants
jayasanka Developer · 128 posts #1

how do i convert dis to xhtml.

//////////////////////////////////////////add vault

else if($action=="addvlt") {

if(!getplusses(getuid_sid($sid))>25) { echo "<card id="main" title="Methos">"; echo " "; echo "At least you should have 25 Credits to add an item to your vault

"; echo "<a href="index.php?action=main&sid=$sid">Home</a>"; echo " "; echo "</card>"; echo "</wml>"; exit(); } addonline(getuid_sid($sid),"Adding a vault item","");

echo "<card id=\"main\" title=\"Add vault item\">";
echo "<onevent type=\"onenterforward\">";

echo "<refresh> <setvar name="viname" value=""/> <setvar name="vilink" value=""/> "; echo "</refresh></onevent>";

echo "

"; echo "The vault is used to store your downloadable links,like images, mp3's, games etc... WARNING: if you used it to wapsites links they will got deleted and you'll lose some Credits, if you used it for ranking sites links like 2wap, mradar, you'll be banned

"; echo "Item Name:<input name="viname" maxlength="50"/> "; echo "Item Url:<input name="vilink" maxlength="255"/> "; echo "<anchor>Add"; echo " <go href="genproc.php?action=addvlt&sid=$sid" method="post"> <postfield name="viname" value="$(viname)"/> <postfield name="vilink" value="$(vilink)"/>

     </go>
        ";
        echo "</anchor>";

     echo "

<a href="index.php?action=main&sid=$sid"><img src="images/home.gif" alt="*"/>"; echo "Home</a>"; echo " "; echo "</card>"; }

jayasanka Developer · 128 posts #2
echo "<anchor>Add";
echo "
<go href=\"genproc.php?action=addvlt&sid=$sid\" method=\"post\">
<postfield name=\"viname\" value=\"$(viname)\"/>
<postfield name=\"vilink\" value=\"$(vilink)\"/>

</go>
";
echo "</anchor>";

i wnt dis anchor conver to xhtml plz help me anyone .................

mcKeny Developer · 130 posts #3

hmmm

echo "<form name=\"input\" 
action=\"genproc.php?action=addvlt&sid=$sid\" method=\"post\"/>"; 
echo "Item name: <input 
type=\"text\" 
name=\"viname\"/>";
echo "Item Url: <input 
type=\"text\" 
name=\"vilink\"/>";
 echo "<input 
type=\"submit\" 
value=\"Submit\">";
 echo "</form>";

try that

R.M.C

PHP Adovocate B)

jayasanka Developer · 128 posts #4

hmmm

echo "<form name=\"input\" 
action=\"genproc.php?action=addvlt&sid=$sid\" method=\"post\"/>"; 
echo "Item name: <input 
type=\"text\" 
name=\"viname\"/>";
echo "Item Url: <input 
type=\"text\" 
name=\"vilink\"/>";
 echo "<input 
type=\"submit\" 
value=\"Submit\">";
 echo "</form>";

try that

thanks a lot bro ............................

External image (may be gone)

jayasanka Developer · 128 posts #5
echo "<input name=\"tfgp\" format=\"*N\" maxlength=\"2\"/>";
  echo "
<anchor>Give";
  echo "<go href=\"genproc.php?action=sharepl&sid=$sid&who=$who\" method=\"post\">";
  echo "<postfield name=\"ptg\" value=\"$(tfgp)\"/>";
  echo "</go></anchor>";

can u convet dis too plz ...........

mcKeny Developer · 130 posts #6
echo "<form 
name=\"input\" 

action=\"genproc.php 
?action=sharepl&si 
d=$sid&who=$who\" 
method=\"post\"/>"; 

echo " <input 

name=\"tfgp\" 

format=\"*N\"
maxlenght=\"2\"/>"; 

echo "<input 

type=\"submit\" 

value=\"Submit\">"; 

echo "</form>";

R.M.C

PHP Adovocate B)

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close