View Single Post
ישן 06-06-06, 16:14   # 3
בניה
משתמש - היכל התהילה
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
מיקום: נחושה
הודעות: 3,434

בניה לא מחובר  

ב"ה


לא עשית NAME בכלל לתאים של הטופס. המשתנים לא היו קיימים/ריקים.
הינה:
קוד:
<html dir="rtl">
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1255">
<title>ערוך אלבום / שיר</title>
</head>

<body>
<?php
include "connect.php";
$id=$_GET["id"];
$query="SELECT * FROM `ds` WHERE `id`=$id";
$result = mysql_query($query);
$sql = mysql_fetch_array($result);
?>
<form method='POST' action='edit_a.php'>
<p><span lang="he"><b><font size="4">שם באנגלית: </font></b></span><b>
<font size="4">
<input type='text' name='en' value="<?php echo $sql["en"]; ?>" size='20'></font></b></p>
<p><span lang="he"><b><font size="4">שם בעברית: </font></b></span><b>
<font size="4">
<input type='text' name='he' value="<?php echo $sql["he"]; ?>" size='20'></font></b></p>
<p><span lang="he"><b><font size="4">שם האמן / להקה: </font></b></span><b>
<font size="4">
<input type='text' name='art' value="<?php echo $sql["art"]; ?>" size='20'></font></b></p>
<p><span lang="he"><b><font size="4">שנת יציאה: </font></b></span><b>
<font size="4">
<input type='text' name='year' value="<?php echo $sql["year"]; ?>" size='20'></font></b></p>
<p><span lang="he"><b><font size="4">גודל: </font></b></span><b>
<font size="4">
<input type='text' name='size' value="<?php echo $sql["size"]; ?>" size='20'></font></b></p>
<p><span lang="he"><b><font size="4">הועלה על ידי: </font></b></span><b>
<font size="4">
<input type='text' name='up' value="<?php echo $sql["up"]; ?>" size='20'></font></b></p>
<p><span lang="he"><b><font size="4">קטגוריה: </font></b></span><b>
<font size="4">
<input type='text' name='cat' value="<?php echo $sql["cat"]; ?>" size='20'></font></b></p>
<p><span lang="he"><b><font size="4">כתובת התמונה: </font></b></span><b>
<font size="4">
<input type='text' name='pic' value="<?php echo $sql["pic"]; ?>" size='20'></font></b></p>
<p><span lang="he"><b><font size="4">רשימת שירים: </font></b></span><b>
<font size="4">
<input type='text' name='list' value="<?php echo $sql["list"]; ?>" size='20'></font></b></p>
<p><span lang="he"><b><font size="4">הערות: </font></b></span><b>
<font size="4">
<input type='text' name='note' value="<?php echo $sql["note"]; ?>" size='20'></font></b></p>
<p><span lang="he"><b><font size="4">לינקים להורדה: </font></b></span><b>
<font size="4">
<input type='text' name='link' value="<?php echo $sql["link"]; ?>" size='20'></font></b></p>
<p><b>
<input type=hidden name="id" value="<?php echo $id; ?>">
<input type='submit' value='ערוך' name='submit'></b></p>
</form>
</body>
</html>