Location: PHPKode > projects > MythPHP > MythPHPv1.0/www/admin/ahduzenle.php
<?php include 'header.php'; ?>
<div align="center">
<form method="post" action="ahduzenlendi.php">
<?php

$idbil = $_GET['ahid']+0;
?>

<input name="idal" type="hidden" class="text" size="60" value="<?php echo "$idbil"; ?>" />

<b>Müþteri:</b><br />
<select name="mbilgisi">
<?php

include '../ayar.php';

$listeisl = mysql_query("SELECT musteribil FROM musterialanadlari WHERE id='$idbil'");
while($listele = mysql_fetch_assoc($listeisl))
{
$curmus = $listele['musteribil'];

echo "
<option value=\"$curmus\">$curmus</option>
";
}

$listeisl = mysql_query("SELECT adsoyad FROM musteriler");
while($listele = mysql_fetch_assoc($listeisl))
{
$madsoyad = $listele['adsoyad'];

echo "
<option value=\"$madsoyad\">$madsoyad</option>
";
}
?>
</select><br /> 
<b>Alan Adý:</b><br />
<?php
$listeisl = mysql_query("SELECT alanadi FROM musterialanadlari WHERE id='$idbil'");
while($listele = mysql_fetch_assoc($listeisl))
{
$curad = $listele['alanadi'];
echo "
<input name=\"domain\" type=\"text\" class=\"text\" size=\"50\" value=\"$curad\" />
";
}
?>
. 
<select name="muzanti">
<?php
$listeisl = mysql_query("SELECT alanadiu FROM musterialanadlari WHERE id='$idbil'");
while($listele = mysql_fetch_array($listeisl))
{
$curu = $listele['alanadiu'];

echo "<option value=\"$curu\">$curu</option>";
}

$listeisl = mysql_query("SELECT uzanti FROM alanadifiyat");
while($listele = mysql_fetch_array($listeisl))
{
$apuzanti = $listele['uzanti'];

echo "<option value=\"$apuzanti\">$apuzanti</option>";
}
?>
</select><br /> 
<?php
$listeisl = mysql_query("SELECT baslamatarihi, bitistarihi FROM musterialanadlari WHERE id='$idbil'");
while($listele = mysql_fetch_array($listeisl))
{

$btar = $listele['baslamatarihi'];
$bitar = $listele['bitistarihi'];

echo "
<b>Baþlama Tarihi:</b><br /> 
<input name=\"bastarihi\" type=\"text\" class=\"text\" size=\"60\" value=\"$btar\" /><br /> 
<b>Bitiþ Tarihi:</b><br /> 
<input name=\"bittarihi\" type=\"text\" class=\"text\" size=\"60\" value=\"$bitar\" /><br /> 
";
}
?>
<input type="submit" value="Müþteri Hesabýndaki Alan Adýný Düzenle" />
</form>
</div>
<?php include 'footer.php'; ?>
Return current item: MythPHP