More Help To Tralslate This Codes..

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    More Help To Tralslate This Codes..


    hi, i'm gonna try to rewrite in php html the wappy chat.
    all pages now are done and looks well ; on pc and also
    mobile phones.
    but i have a trouble; i got very
    difficult to change input forms from
    php wml to php html.
    i need help to translate
    this codes to php html without errors.. i tied to do alone but withot good results.. :
    1)
    echo "<anchor>Write/";
    echo "<go method=\"post\" href=\"kirj.php?time=".time()."\">";
    echo "<postfield name=\"nimi\" value=\"$(nimi)\"/>";
    echo "<postfield name=\"salasana\" value=\"$(salasana)\"/>";
    echo "<setvar name=\"viesti\" value=\"\"/>";
    echo "<setvar name=\"joo\" value=\"h000\"/>";
    echo "</go>";
    echo "</anchor>";
    echo "<anchor>Inbox/";
    echo "<go method=\"post\" href=\"prividis.php\">";
    echo "<postfield name=\"salasana\" value=\"$(salasana)\"/>";

    2)
    if ($katsos>=1){
    echo "<anchor>*";
    echo "<go method=\"post\" href=\"prividis.php\">";
    echo "<postfield name=\"salasana\" value=\"$(salasana)\"/>";
    echo "<postfield name=\"nimi\" value=\"$(nimi)\"/>";
    echo "</go>";
    echo "</anchor>
    ";
    echo "INBOX ALERT: (".$katsos." new)
    ---
    ";}


    3)

    echo "<anchor>Pm/";
    echo "<go method=\"post\" href=\"privkirj2.php?viesti=\">";
    echo "<postfield name=\"nimi\" value=\"$(nimi)\"/>";
    echo "<postfield name=\"salasana\" value=\"$(salasana)\"/>";
    echo "<postfield name=\"kenelle\" value=\"$(kenelle)\"/>";
    echo "<setvar name=\"viesti\" value=\"\"/>";
    echo "</go>";
    echo "</anchor> ";
    echo "<anchor>Chatroom/";
    echo "<go method=\"post\" href=\"chat.php\">";
    echo "<postfield name=\"salasana\" value=\"$(salasana)\"/>";

    echo "<postfield name=\"nimi\" value=\"$(nimi)\"/>";
    echo "</go>";
    echo "</anchor>";

    echo "<anchor>Reload";
    echo "<go method=\"post\" href=\"prividis.php\">";
    echo "<postfield name=\"salasana\" value=\"$(salasana)\"/>";
    echo "<postfield name=\"nimi\" value=\"$(nimi)\"/>";
    echo "</go>";
    echo "</anchor>
    \n";

    4)
    echo "<small><anchor>»Continue";
    echo "<go method=\"post\" href=\"chat.php\">";
    echo "<postfield name=\"ines\" value=\"$(ines)\"/>";
    echo "<postfield name=\"nimi\" value=\"$(nimi)\"/>";
    echo "<postfield name=\"salasana\" value=\"$(salasana)\"/>";
    echo "</go>";
    echo "</anchor>

    ";
    sigpicthe italian/international COMMUNITY of friendship
    http://people2000.netne.net
    WAP/WEB
    peoplemailbox@katamail.com

    #2
    woooow i dont understand noting

    Comment


      #3
      <form name="NAME" method="POST" action="kirj.php?time=".time().">


      :</p><input type="text" name="nimi" value=""></input>


      :</p><input type="password" name="salsana" value=""></input>

      <input type="Submit" value="Submit" name="Accept"></input>
      <input type="reset" value="Reset" name="Reseti"></input>
      In kirj.php you should write
      $salsana = $_POST["salsana"];
      $nimi = $_POST["nimi"];
      It shuold work...
      change all other pages by your self...

      Comment

      Working...
      X