Update Befel

MirakFH

Mitglied
Hi, ich würde mal gerne wissen was an diesesm Befehl nicht stimmt. Danke

$sql = "UPDATE `profil` SET `profil_mb` = ".$_POST['profil_hptwo']." WHERE `id` = ".$_SESSION['id']."";
 
hi

versuchs mal so

PHP:
$sql = "UPDATE `profil` SET `profil_mb` = ".$_POST['profil_hptwo']." WHERE `id` = ".$_SESSION['id'];
 
Ich glaub da fehlen die ' vor und nach den Werten.

Probier's mal so
PHP:
$sql = "UPDATE `profil` SET `profil_mb` = '".$_POST['profil_hptwo']."' WHERE `id` = '".$_SESSION['id']."'";
 
ich glaub nicht dass die fehlen, da die durch $_POST[] erhaltenen werte strings sind und daher vom script auch so interpretiert werden! wenn ich zumindest die ' vorher und nachher angegeben hab, hats nicht funktioniert!!

cya
 
Vilen dank, ich werde beides ausprobieren. Wenn es geklappt hat, dann werd ich den Thread als erledigt makieren

edit

wie immer, zeigt keine Meldung, das es einen Fehler gibt. Es kmm tid Meldung die kommt, wenn die Aktion erfolgreich war und dann hat sich nichts geändert.

hier mein Code:

Code:
<? session_start(); ?>
<table width="641" height="121" border="0" cellpadding="0" cellspacing="0" class="text">
  <tr>
    <td height="29" background="img/c1.jpg"><strong>&nbsp;&nbsp;&nbsp;Test-Seite &raquo; Profil bearbeiten</strong></td>
  </tr>
  <tr>
    <td background="img/c2.jpg"><br>
      <table width="641" border="0" cellpadding="0" cellspacing="0" class="text">
      <tr>
        <td width="16">&nbsp;</td>
        <td width="121"><div align="center"><a href="index.php?section=editprofil&change=personal"><strong>&raquo;</strong> Pers&ouml;nliches</a> </div></td>
        <td width="121"><div align="center"><a href="index.php?section=editprofil&change=contact"><strong>&raquo;</strong> Kontakt</a></div></td>
        <td width="121"><div align="center"><a href="index.php?section=editprofil&change=favourites"><strong>&raquo;</strong> Favoriten</a></div></td>
        <td width="121"><div align="center"><a href="index.php?section=editprofil&change=hardware"><strong>&raquo;</strong> Hardware</a></div></td>
        <td width="121"><div align="center"><a href="index.php?section=editprofil&change=photo"><strong>&raquo;</strong> Foto</a></div></td>
        <td width="16">&nbsp;</td>
      </tr>
    </table>
      <br>  
      <table width="641" border="0" cellpadding="0" cellspacing="0" class="text">
        <tr>
          <td width="16">&nbsp;</td>
          <td><center>
		  <?
		  if($_POST['Submit'] == "Aktualisieren")
		  {
		  $sql = "UPDATE `profil` SET `profil_hptwo` = '".$_POST['profil_hptwo']."' WHERE `id` = '".$_SESSION['id']."'"; 
	      echo "<br>";
		  echo "Porfil aktualisiert!";
		  echo "<br>";
 		  echo "<br>";
		  }
		  mysql_connect(localhost, ***, ***);
		  mysql_select_db(usr_web128_1);
		  $query = mysql_query("SELECT * FROM profil WHERE id='".$_SESSION['id']."'");
		  while($row = mysql_fetch_array($query))
		  if($change == "personal")
		  {
		  echo "<form action=\"index.php?section=editprofil\" method=\"post\" name=\"profil\">";
		  echo "<br>";
		  echo "<table width=\"534\" border=\"0\" align=\"center\ cellpadding=\"0\" cellspacing=\"0\" class=\"text\">";
          echo "    <tr>";
          echo "      <td width=\"197\"><strong>Nickname &raquo;</strong></td>";
          echo "      <td width=\"337\"><input name=\"profil_nick\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_nick']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "      <td width=\"337\">&nbsp;</td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "     <td><strong>Vorname &raquo;</strong></td>";
          echo "      <td width=\"337\"><input name=\"profil_nick\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_name']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "      <td>&nbsp;</td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td><strong>Nachname &raquo;</strong></td>";
          echo "      <td><input name=\"profil_lastname\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_lastname']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "      <td>&nbsp;</td>";
          echo "    </tr>";
          echo "   <tr>";
          echo "      <td><strong>Geschlecht &raquo;</strong></td>";
          echo "      <td><input name=\"profil_sex\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_sex']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "      <td>&nbsp;</td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td><strong>Geburtstag &raquo;</strong></td>";
          echo "      <td><input name=\"profil_bd\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_bd']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "     <td>&nbsp;</td>";
          echo "   </tr>";
          echo "    <tr>";
          echo "      <td><strong>Wohnort &raquo;</strong></td>";
          echo "      <td><input name=\"profil_city\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_city']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "      <td>&nbsp;</td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td><strong>Nationalit&auml;t &raquo;</strong></td>";
          echo "      <td>                  <input name=\"profil_nat\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_nat']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "     <td>&nbsp;</td>";
          echo "   </tr>";
          echo "    <tr>";
          echo "      <td><strong>Selbstbeschreibung &raquo;</strong></td>";
          echo "      <td>                  <input name=\"profil_aboutme\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_aboutme']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "     <td>&nbsp;</td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td><strong>Motto &raquo;</strong></td>";
          echo "      <td>                  <input name=\"profil_motto\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_motto']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "      <td>&nbsp;</td>";
          echo "   </tr>";
          echo "    <tr>";
          echo "      <td colspan=\"2\"><div align=\"center\">";
          echo "          <input type=\"submit\" name=\"Submit\" value=\"Aktualisieren\" class=\"text\">";
          echo "      </div></td>";
          echo "      </tr>";
          echo "</table>";
		  echo "<br>";
		  echo "</form>";
		  }
		  mysql_connect(localhost, ***, ***);
		  mysql_select_db(usr_web128_1);
		  $query = mysql_query("SELECT * FROM profil WHERE id='".$_SESSION['id']."'");
		  while($row = mysql_fetch_array($query))
		  if($change == "contact")
		  {
		  echo "<form action=\"index.php?section=editprofil\" method=\"post\" name=\"profil\">";
		  echo "<br>";
		  echo "<table width=\"534\" border=\"0\" align=\"center\ cellpadding=\"0\" cellspacing=\"0\" class=\"text\">";
          echo "    <tr>";
          echo "      <td width=\"197\"><strong>ICQ-Nummer &raquo;</strong></td>";
          echo "      <td width=\"337\"><input name=\"profil_icq\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_icq']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "      <td width=\"337\">&nbsp;</td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "     <td><strong>MSN-Adresse &raquo;</strong></td>";
          echo "      <td width=\"337\"><input name=\"profil_msn\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_msn']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "      <td>&nbsp;</td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td><strong>AIM-Name &raquo;</strong></td>";
          echo "      <td><input name=\"profil_aim\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_aim']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "      <td>&nbsp;</td>";
          echo "    </tr>";
          echo "   <tr>";
          echo "      <td><strong>YIM-Name &raquo;</strong></td>";
          echo "      <td><input name=\"profil_yim\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_yim']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "      <td>&nbsp;</td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td><strong>eMail-Adresse &raquo;</strong></td>";
          echo "      <td><input name=\"profil_mail\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_mail']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "     <td>&nbsp;</td>";
          echo "   </tr>";
          echo "    <tr>";
          echo "      <td><strong>Homepage #1 &raquo;</strong></td>";
          echo "      <td><input name=\"profil_hpone\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_hpone']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "      <td>&nbsp;</td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td><strong>Homepage #2 &raquo;</strong></td>";
          echo "      <td><input name=\"profil_hptwo\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_hptwo']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "     <td>&nbsp;</td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td colspan=\"2\"><div align=\"center\">";
          echo "          <input type=\"submit\" name=\"Submit\" value=\"Aktualisieren\" class=\"text\">";
          echo "      </div></td>";
          echo "      </tr>";
          echo "</table>";
		  echo "<br>";
		  echo "</form>";
		  }
		  mysql_connect(localhost, ***, ***);
		  mysql_select_db(usr_web128_1);
		  $query = mysql_query("SELECT * FROM profil WHERE id='".$_SESSION['id']."'");
		  while($row = mysql_fetch_array($query))
		  if($change == "favourites")
		  {
		  echo "<form action=\"index.php?section=editprofil\" method=\"post\" name=\"profil\">";
		  echo "<br>";
		  echo "<table width=\"534\" border=\"0\" align=\"center\ cellpadding=\"0\" cellspacing=\"0\" class=\"text\">";
          echo "    <tr>";
          echo "      <td width=\"197\"><strong>Spiel &raquo;</strong></td>";
          echo "      <td width=\"337\"><input name=\"profil_game\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_game']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "      <td width=\"337\">&nbsp;</td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "     <td><strong>Waffe &raquo;</strong></td>";
          echo "      <td width=\"337\"><input name=\"profil_weapon\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_weapon']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "      <td>&nbsp;</td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td><strong>Karte(n) &raquo;</strong></td>";
          echo "      <td>                  <input name=\"profil_map\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_map']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "      <td>&nbsp;</td>";
          echo "    </tr>";
          echo "   <tr>";
          echo "      <td><strong>Modifikation &raquo;</strong></td>";
          echo "      <td>                  <input name=\"profil_mod\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_mod']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "      <td>&nbsp;</td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td><strong>Essen &raquo;</strong></td>";
          echo "      <td><input name=\"profil_food\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_food']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "     <td>&nbsp;</td>";
          echo "   </tr>";
          echo "    <tr>";
          echo "      <td><strong>Trinken &raquo;</strong></td>";
          echo "      <td><input name=\"profil_drink\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_drink']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "      <td>&nbsp;</td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td><strong>Musik &raquo;</strong></td>";
          echo "      <td><input name=\"profil_music\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_music']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "     <td>&nbsp;</td>";
          echo "   </tr>";
          echo "    <tr>";
          echo "      <td><strong>Film &raquo;</strong></td>";
          echo "      <td><input name=\"profil_movie\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_movie']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "     <td>&nbsp;</td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td><strong>Tier &raquo;</strong></td>";
          echo "      <td><input name=\"profil_animal\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_animal']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "      <td>&nbsp;</td>";
          echo "   </tr>";
          echo "    <tr>";
          echo "      <td colspan=\"2\"><div align=\"center\">";
          echo "          <input type=\"submit\" name=\"Submit\" value=\"Aktualisieren\" class=\"text\">";
          echo "      </div></td>";
          echo "      </tr>";
          echo "</table>";
		  echo "<br>";
		  echo "</form>";
		  }
		  mysql_connect(localhost, ***, ***);
		  mysql_select_db(usr_web128_1);
		  $query = mysql_query("SELECT * FROM profil WHERE id='".$_SESSION['id']."'");
		  while($row = mysql_fetch_array($query))
		  if($change == "hardware")
		  {
		  echo "<form action=\"index.php?section=editprofil\" method=\"post\" name=\"profil\">";
		  echo "<br>";
		  echo "<table width=\"534\" border=\"0\" align=\"center\ cellpadding=\"0\" cellspacing=\"0\" class=\"text\">";
          echo "    <tr>";
          echo "      <td width=\"197\"><strong>CPU &raquo;</strong></td>";
          echo "      <td width=\"337\"><input name=\"profil_cpu\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_cpu']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "      <td width=\"337\">&nbsp;</td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "     <td><strong>Monitor &raquo;</strong></td>";
          echo "      <td width=\"337\"><input name=\"profil_monitor\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_monitor']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "      <td>&nbsp;</td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td><strong>Grafikkarte &raquo;</strong></td>";
          echo "      <td><input name=\"profil_graphic\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_graphic']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "      <td>&nbsp;</td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td><strong>Mainboard &raquo;</strong></td>";
          echo "      <td><input name=\"profil_mb\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_mb']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "     <td>&nbsp;</td>";
          echo "   </tr>";
          echo "    <tr>";
          echo "      <td><strong>Festplatte &raquo;</strong></td>";
          echo "      <td><input name=\"profil_hdd\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_hdd']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "      <td>&nbsp;</td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td><strong>Arbeitsspeicher &raquo;</strong></td>";
          echo "      <td><input name=\"profil_ram\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_ram']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "     <td>&nbsp;</td>";
          echo "   </tr>";
          echo "    <tr>";
          echo "      <td><strong>Maus &raquo;</strong></td>";
          echo "      <td><input name=\"profil_mouse\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_mouse']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "     <td>&nbsp;</td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td><strong>Tastatur &raquo;</strong></td>";
          echo "      <td><input name=\"profil_keyboard\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_keyborad']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "      <td>&nbsp;</td>";
          echo "   </tr>";
          echo "    <tr>";
          echo "      <td><strong>Verbindung (Provider) &raquo;</strong></td>";
          echo "      <td><input name=\"profil_connection\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_connection']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "      <td>&nbsp;</td>";
          echo "   </tr>";
          echo "    <tr>";
          echo "      <td colspan=\"2\"><div align=\"center\">";
          echo "          <input type=\"submit\" name=\"Submit\" value=\"Aktualisieren\" class=\"text\">";
          echo "      </div></td>";
          echo "      </tr>";
          echo "</table>";
		  echo "<br>";
		  echo "</form>";
		  }
		  mysql_connect(localhost, ***, ***);
		  mysql_select_db(usr_web128_1);
		  $query = mysql_query("SELECT * FROM profil WHERE id='".$_SESSION['id']."'");
		  while($row = mysql_fetch_array($query))
		  if($change == "photo")
		  {
		  echo "<form action=\"index.php?section=editprofil\" method=\"post\" name=\"profil\">";
		  echo "Foto";
		  }
		  mysql_connect(localhost, ***, ***);
		  mysql_select_db(usr_web128_1);
		  $query = mysql_query("SELECT * FROM profil WHERE id='".$_SESSION['id']."'");
		  while($row = mysql_fetch_array($query))
		  if($change == "")
		  {
		  echo "<form action=\"index.php?section=editprofil\" method=\"post\" name=\"profil\">";
		  echo "<br>";
		  echo "<table width=\"534\" border=\"0\" align=\"center\ cellpadding=\"0\" cellspacing=\"0\" class=\"text\">";
          echo "    <tr>";
          echo "      <td width=\"197\"><strong>Nickname &raquo;</strong></td>";
          echo "      <td width=\"337\">                  <input name=\"profil_nick\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_nick']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "      <td width=\"337\">&nbsp;</td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "     <td><strong>Vorname &raquo;</strong></td>";
          echo "      <td width=\"337\">                  <input name=\"profil_nick\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_name']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "      <td>&nbsp;</td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td><strong>Nachname &raquo;</strong></td>";
          echo "      <td>                  <input name=\"profil_lastname\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_lastname']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "      <td>&nbsp;</td>";
          echo "    </tr>";
          echo "   <tr>";
          echo "      <td><strong>Geschlecht &raquo;</strong></td>";
          echo "      <td>                  <input name=\"profil_sex\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_sex']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "      <td>&nbsp;</td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td><strong>Geburtstag &raquo;</strong></td>";
          echo "      <td><input name=\"profil_bd\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_bd']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "     <td>&nbsp;</td>";
          echo "   </tr>";
          echo "    <tr>";
          echo "      <td><strong>Wohnort &raquo;</strong></td>";
          echo "      <td><input name=\"profil_city\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_city']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "      <td>&nbsp;</td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td><strong>Nationalit&auml;t &raquo;</strong></td>";
          echo "      <td>                  <input name=\"profil_nat\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_nat']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "     <td>&nbsp;</td>";
          echo "   </tr>";
          echo "    <tr>";
          echo "      <td><strong>Selbstbeschreibung &raquo;</strong></td>";
          echo "      <td>                  <input name=\"profil_aboutme\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_aboutme']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "     <td>&nbsp;</td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td><strong>Motto &raquo;</strong></td>";
          echo "      <td>                  <input name=\"profil_motto\" type=\"text\" size=\"40\" class=\"text\" value=\"".$row['profil_motto']."\"></td>";
          echo "    </tr>";
          echo "    <tr>";
          echo "      <td>&nbsp;</td>";
          echo "      <td>&nbsp;</td>";
          echo "   </tr>";
          echo "    <tr>";
          echo "      <td colspan=\"2\"><div align=\"center\">";
          echo "          <input type=\"submit\" name=\"Submit\" value=\"Aktualisieren\" class=\"text\">";
          echo "      </div></td>";
          echo "      </tr>";
          echo "</table>";
		  echo "<br>";
		  echo "</form>";
		  }
		  ?>
          </center></td>
          <td width="16">&nbsp;</td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td height="29" background="img/c3.jpg"></td>
  </tr>
</table>
 
Zuletzt bearbeitet:
Zurück