Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Saturday, October 17, 2026

Diff for tucniak/webclient/form/edit_phone.php between version 1.1 and 1.2

version 1.1, 2005/11/17 20:56:31 version 1.2, 2005/11/23 20:57:49
Line 8 
Line 8 
                 <FORM name="form_phone" action="" method="GET">                  <FORM name="form_phone" action="" method="GET">
 <?php  <?php
         $phone = new webt_phone();          $phone = new webt_phone();
         if (isset($_GET["id"])) {                                                                       //in case there is no defined id, this form can't do anything with object webt_phone          if (isset($_GET["id"])) {                                       //in case there is no defined id, this form can't do anything with object webt_phone
                 $phone->id = $_GET["id"];                  $phone->id = $_GET["id"];                               //elseif list of possible actions (only one action per site show allowed)
 //elseif list of possible actions (only one action per site show allowed)                  if (isset($_GET["update"])) {           //if is set "update" it is waiting also "phone_number" parameter with new update info
                 if (isset($_GET["update"])) {                                           //if is set "update" it is waiting also "phone_number" parameter with new update info  
                         $phone->number=$_GET["phone_number"];                          $phone->number=$_GET["phone_number"];
                         if ($phone->data_update()) echo MSG_UPDATED;                          if ($phone->data_update()) echo MSG_UPDATED;
                 }                  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top