<?php
$phone = &$HTTP_POST_VARS['phone'];
$picture = &$HTTP_POST_VARS['picture'];
$weight= &$HTTP_POST_VARS['weight'];
$lenght = &$HTTP_POST_VARS['lenght'];
$width = &$HTTP_POST_VARS['width'];
$thickness = &$HTTP_POST_VARS['thickness'];
$radiopejling = &$HTTP_POST_VARS['radiopejling'];
$vibration = &$HTTP_POST_VARS['vibration'];
$sms = &$HTTP_POST_VARS['sms'];
$mms = &$HTTP_POST_VARS['mms'];
$email = &$HTTP_POST_VARS['email'];
$wordbook = &$HTTP_POST_VARS['wordbook'];
$talkcall = &$HTTP_POST_VARS['talkcall'];
$videocall = &$HTTP_POST_VARS['videocall'];
$techno = &$HTTP_POST_VARS['techno'];
$treeg = &$HTTP_POST_VARS['treeg'];
$triband = &$HTTP_POST_VARS['triband'];
$wap = &$HTTP_POST_VARS['wap'];
$gprs = &$HTTP_POST_VARS['gprs'];
$edge = &$HTTP_POST_VARS['edge'];
$hscsd = &$HTTP_POST_VARS['hscsd'];
$wlan = &$HTTP_POST_VARS['wlan'];
$infrared= &$HTTP_POST_VARS['infrared'];
$bluetooth = &$HTTP_POST_VARS['bluetooth'];
$usb = &$HTTP_POST_VARS['usb'];
$color = &$HTTP_POST_VARS['color'];
$displaypixel = &$HTTP_POST_VARS['displaypixel'];
$mdisplay = &$HTTP_POST_VARS['mdisplay'];
$mcolor = &$HTTP_POST_VARS['mcolor'];
$mdisplaypixel = &$HTTP_POST_VARS['mdisplaypixel'];
$camera = &$HTTP_POST_VARS['camera'];
$sensor = &$HTTP_POST_VARS['sensor'];
$camerapixel = &$HTTP_POST_VARS['camerapixel'];
$video = &$HTTP_POST_VARS['video'];
$digitalzoom = &$HTTP_POST_VARS['digitalzoom'];
$multimedieplayer = &$HTTP_POST_VARS['multimedieplayer'];
$program = &$HTTP_POST_VARS['program'];
$game = &$HTTP_POST_VARS['game'];
$voice = &$HTTP_POST_VARS['voice'];
$mp3player = &$HTTP_POST_VARS['mp3player'];
$fmradio = &$HTTP_POST_VARS['fmradio'];
$sound = &$HTTP_POST_VARS['sound'];
$standby = &$HTTP_POST_VARS['standby'];
$talktime = &$HTTP_POST_VARS['talktime'];
$videotime = &$HTTP_POST_VARS['videotime'];
$memory = &$HTTP_POST_VARS['memory'];
$memorycard = &$HTTP_POST_VARS['memorycard'];
$size = &$HTTP_POST_VARS['size'];
$alarm = &$HTTP_POST_VARS['alarm'];
$calculater = &$HTTP_POST_VARS['calculater'];
$calender = &$HTTP_POST_VARS['calender'];
$light = &$HTTP_POST_VARS['light'];
include("config.php");
$connect = mysql_connect($mysql_host, $mysql_user, $mysql_pw);
mysql_select_db($mysql_db,$connect);
mysql_query("INSERT INTO `mobil` (`phone`,`picture`,`weight`,`lenght`,`width`,`thickness`,`radiopejling`,`vibration`,`sms`,`mms`,`email`,`wordbook`,`talkcall`,`videocall`,`techno`,`treeg`,`triband`,`wap`,`gprs`,`edge`,`hscsd`,`wlan`,`infrared`,`bluetooth`,`usb`,`display`,`color`,`displaypixel`,`mdisplay`,`mcolor`,`mdisplaypixel`,`camera`,`sensor`,`camerapixel`,`video`,`digitalzoom`,`multimedieplayer`,`program`,`game`,`voice`,`mp3player`,`fmradio`,`sound`,`standby`,`talktime`,`videotime`,`memory`,`memorycard`,`size`,`alarm`,`calculater`,`calender`,`light`) VALUES ('$phone','$picture','$weight','$lenght','$width','$thickness','$radiopejling','$vibration','$sms','$mms','$wordbook','$talkcall','$videocall','$techno','$treeg','$triband','$wap','$gprs','$edge','$hscsd','$wlan','$infrared','$bluetooth','$usb','$display','$color','$displaypixel','$mdisplay','$mcolor','$mdisplaypixel','$camera','$sensor','$camerapixel','$video','$digitalzoom','$multimedieplayer','$program','$game','$voice','$mp3player','$fmradio','$sound','$standby','$talktime','$videotime','$memory','$memorycard','$size','$alarm','$calculater','$calender','$light')");
echo "Du har tilføjet produktet";
?>
Den vil ikke tilføje til databasen, men viriablerne bliver godtnok loadet
Hvad er der galt med mit script?
[Redigeret d. 14/01-06 22:59:00 af morten]