sviesc Posted March 8, 2004 Report Share Posted March 8, 2004 palīdziet gudrie prāti visu raxtu kā no manuāļā bet You have an error in your SQL syntax near 'win 98', case='YBTM878112', cserial='139586', monitors='fujistsu siemens LCD', m' at line 2 mans nesaprast kur ir tā vaina kods te <? $data = mysql_query("UPDATE info SET host='$host', name='$name', ip='$ip , os='$os', case='$case', cserial='$cserial', monitors='$monitors', mserial='$mserial', printer='$printer', pserial='$pserial', cits='$cits', citsserial='$citsserial', virus='$virus', andromeda='$andromeda', status='$status' WHERE id='$id'")OR die(mysql_error()); ?> Link to comment Share on other sites More sharing options...
sviesc Posted March 8, 2004 Author Report Share Posted March 8, 2004 pie IP nav ' bet tur nav taa vaina Link to comment Share on other sites More sharing options...
hu_ha Posted March 8, 2004 Report Share Posted March 8, 2004 nu man gribeetos teikt, ka konkreetais errors tieshi noraada uz to, ka nav peedinjas... Link to comment Share on other sites More sharing options...
kasisppr Posted March 8, 2004 Report Share Posted March 8, 2004 Piekrītu tam ko saka hu_ha :rolleyes: Bet, ja tiešām tur nav tā problēma, varbūt paseko vai mainīgo tipi nekonfliktē. Piemēram 'text' mainīgo gribi ielikt 'var' laukā. Man dažreiz tā ir gadījies. Link to comment Share on other sites More sharing options...
Recommended Posts