הרשם שאלות ותשובות רשימת חברים לוח שנה חיפוש הודעות מהיום סמן פורומים כנקראו

   
|!|

סגור את ההודעה
 
כלים לאשכול תצורת הצגה
ישן 06-06-06, 14:38   # 1
lalamen
חבר פורום
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
גיל: 34
הודעות: 328

lalamen לא מחובר  

תראה את הטופס עצמו של השליחה
 
ישן 06-06-06, 14:50   # 2
-VladK-
הוסטסניון
 
-VladK-'s Avatar
 
מיני פרופיל
תאריך הצטרפות: Apr 2006
גיל: 34
הודעות: 2,182

-VladK- לא מחובר  

למה עשית @???? תעיף אותם...
 
ישן 06-06-06, 14:50   # 3
Elad-A
הוסטסניון
 
מיני פרופיל
תאריך הצטרפות: May 2006
הודעות: 1,987

Elad-A לא מחובר  

זה כדי שלא יציג שגיאה אבל זה לא משנה.
 
ישן 06-06-06, 14:58   # 4
lalamen
חבר פורום
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
גיל: 34
הודעות: 328

lalamen לא מחובר  

תשנה לקוד הזה, ואם זה לא מעדכן תשים פה את הטופס של השליחה אולי הבעיה בו

PHP קוד:
<?php

include "connect.php";

$id $_POST["id"];
$en $_POST["en"];
$he $_POST["he"];
$art $_POST["art"];
$year $_POST["year"];
$size $_POST["size"];
$up $_POST["up"];
$cat $_POST["cat"];
$list $_POST["list"];
$note $_POST["note"];
$link $_POST["link"];
$pic $_POST["pic"];

mysql_query("UPDATE `ds` set `en`='$en', `he`='$he' , `art`='$art' , `year`='$year' , `size`='$size' , `up`='$up' , `cat`='$cat' , `list`='$list' , `note`='$note' , `link`='$link' , `pic`='$pic' WHERE `id`=$id LIMIT 1") or die(mysql_error());
echo 
"<script>window.location=\"index.php\"</script>";
?>
 
ישן 06-06-06, 15:04   # 5
Elad-A
הוסטסניון
 
מיני פרופיל
תאריך הצטרפות: May 2006
הודעות: 1,987

Elad-A לא מחובר  

לא עובד אחי...
הנה הטופס שליחה:
PHP קוד:
<?php
@include "connect.php";
$id=$_GET["id"];
$query="select * from ds where id=".$id;
$sql=mysql_query($query);
$sql=mysql_fetch_array($sql);
?>
<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>
<form method='POST' action='edit_a.php'>
</head>

<body>

<p><span lang="he"><b><font size="4">שם באנגלית: </font></b></span><b> 
<font size="4"> 
<input type='text' name='name' 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='name' 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='name' 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='name' 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='name' 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='name' 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='name' 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='name' 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='name' 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='name' 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='name' 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>

</body>

</html>
 
ישן 06-06-06, 15:11   # 6
lalamen
חבר פורום
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
גיל: 34
הודעות: 328

lalamen לא מחובר  

תשנה לקוד הזה

עריכה: עכשיו שמתי לב שאתה כותב במאפיין nameשל התג input לכולם אותו הדבר בגלל זה הבעיה

PHP קוד:
<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='name' 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='name' 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='name' 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='name' 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='name' 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='name' 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='name' 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='name' 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='name' 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='name' 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='name' 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>

Last edited by lalamen; 06-06-06 at 15:13..
 
ישן 06-06-06, 15:14   # 7
Elad-A
הוסטסניון
 
מיני פרופיל
תאריך הצטרפות: May 2006
הודעות: 1,987

Elad-A לא מחובר  

בעע אחי זה לא מעדכן... ההפך זה מוחק כל מה שהיה...
תגיד יש לך מסנג'ר?
 
ישן 06-06-06, 15:39   # 8
בניה
משתמש - היכל התהילה
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
מיקום: נחושה
הודעות: 3,434

בניה לא מחובר  

ב"ה

אם זה מוחק זה סימן שזה עושה משהו.
יכול להיות שהמשתנים ריקים?
 
ישן 06-06-06, 16:03   # 9
Elad-A
הוסטסניון
 
מיני פרופיל
תאריך הצטרפות: May 2006
הודעות: 1,987

Elad-A לא מחובר  

וואי אחי אני לא יודע מה לעשות כבר...

תראה את הקודים שלי:

edit.php
PHP קוד:
<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' en='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' he='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' art='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' year='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' size='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' up='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' cat='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' pic='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' list='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' note='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' link='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>
וזה הקובץ edit_a.php
PHP קוד:
<?php

include "connect.php";

$id $_POST["id"];
$en $_POST["en"];
$he $_POST["he"];
$art $_POST["art"];
$year $_POST["year"];
$size $_POST["size"];
$up $_POST["up"];
$cat $_POST["cat"];
$list $_POST["list"];
$note $_POST["note"];
$link $_POST["link"];
$pic $_POST["pic"];

mysql_query("UPDATE `ds` set `en`='$en', `he`='$he' , `art`='$art' , `year`='$year' , `size`='$size' , `up`='$up' , `cat`='$cat' , `list`='$list' , `note`='$note' , `link`='$link' , `pic`='$pic' WHERE `id`=$id LIMIT 1") or die(mysql_error());
echo 
"<script>window.location=\"index.php\"</script>";
?>
אם מישהו ימצא מה הבעיה פה אני יודה לו מאוד!!
 
ישן 06-06-06, 16:05   # 10
Tomer
Whatever
 
Tomer's Avatar
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
הודעות: 7,039
שלח הודעה באמצעות MSN אל Tomer Send a message via Skype™ to Tomer

Tomer לא מחובר  

ציטוט:
נכתב במקור על ידי Elad-A
וואי אחי אני לא יודע מה לעשות כבר...

תראה את הקודים שלי:

edit.php
PHP קוד:
<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' en='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' he='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' art='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' year='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' size='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' up='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' cat='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' pic='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' list='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' note='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' link='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>
וזה הקובץ edit_a.php
PHP קוד:
<?php

include "connect.php";

$id $_POST["id"];
$en $_POST["en"];
$he $_POST["he"];
$art $_POST["art"];
$year $_POST["year"];
$size $_POST["size"];
$up $_POST["up"];
$cat $_POST["cat"];
$list $_POST["list"];
$note $_POST["note"];
$link $_POST["link"];
$pic $_POST["pic"];

mysql_query("UPDATE `ds` set `en`='$en', `he`='$he' , `art`='$art' , `year`='$year' , `size`='$size' , `up`='$up' , `cat`='$cat' , `list`='$list' , `note`='$note' , `link`='$link' , `pic`='$pic' WHERE `id`=$id LIMIT 1") or die(mysql_error());
echo 
"<script>window.location=\"index.php\"</script>";
?>
אם מישהו ימצא מה הבעיה פה אני יודה לו מאוד!!
ב edit.php אתה צריך לעשות
name="art" ולא art="art" ...
__________________
תומר
 
סגור את ההודעה

חברים פעילים הצופים באשכול זה: 1 (0 חברים ו- 1 אורחים)
 

כלים לאשכול
תצורת הצגה

חוקי פירסום
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is מופעל
סמיילים הם מופעל
[IMG] קוד מופעל
קוד HTML מכובה

קפיצה לפורום


כל הזמנים הם GMT +2. הזמן כעת הוא 20:00.

מופעל באמצעות VBulletin גרסה 3.8.6
כל הזכויות שמורות ©
כל הזכויות שמורות לסולל יבוא ורשתות (1997) בע"מ