View Single Post
ישן 05-06-06, 19:14   # 4
Elad-A
הוסטסניון
 
מיני פרופיל
תאריך הצטרפות: May 2006
הודעות: 1,987

Elad-A לא מחובר  

אחי הסתדרתי, זה באמת הייתה הבעיה בסוגריים המסולסלות.
אבל עכשיו יש לי עוד בעיה תראה יש לי קובץ של הוספת נתונים למסד זה הקוד:
PHP קוד:
<?php
require ("connect.php");
$en2 $_POST['en];
$he2 = $_POST['
he'];
$art2 = $_POST['
art'];
$year2 = $_POST['
year'];
$size2 = $_POST['
size'];
$up2 = $_POST['
up'];
$cat2 = $_POST['
cat'];
$list2 = $_POST['
list'];
$note2 = $_POST['
note'];
$link2 = $_POST['
link'];
$pic2 = $_POST['
pic'];

$query = mysql_query("insert into ds(en, he, art, year, size, up, cat, list, note, link, pic) values('
$en2','$he2','$art2','$year2','$size2','$up2','$cat2','$list2','$note2','$link','$pic2)")
or die(mysql_error());
?>
זה מציג לי את השגיאה הזו:
PHP קוד:
Parse errorsyntax errorunexpected T_STRINGexpecting ']' in /home/eladad/domains/eladad.web.lsrv.co.il/public_html/ea/add.php on line 5 
  Reply With Quote