dflow Posted December 19, 2010 Share Posted December 19, 2010 everthing updates besides the ProductDescription field with the parsed string if i put ProductDescription='test' it works :wtf: foreach($phtml->find('span[id=lblDescrizione]') as $pdescription){ echo $pdescription->plaintext.'<br><br>'; } mysql_query("UPDATE products_NEW SET Num_Bed_Rooms='$bedrooms->plaintext', Num_bathroom='$bathrooms->plaintext',Parking_Space='$Parking_Space->plaintext',Elevator='$elevator->plaintext',Floor='$floor->plaintext', Air_condition='$aircondition->plaintext',Internet='$internet->plaintext',Handicap_access='$Handicap_access->plaintext',ProductImage_1='$ProductImage_11',Supplier_link='$page',Extras='$extrasS[0]',ProductImage_2='$ProductImage_22',ProductImage_3='$ProductImage_33',ProductImage_4='$ProductImage_44',ProductImage_5='$ProductImage_55',ProductImage_6='$ProductImage_66',ProductImage_7='$ProductImage_77',ProductDescription='$pdescription->plaintext' WHERE ProductName = '$name->plaintext' AND SupplierID = '38'"); Link to comment https://forums.phpfreaks.com/topic/222157-text-field-update-problem-no-error/ Share on other sites More sharing options...
dflow Posted December 20, 2010 Author Share Posted December 20, 2010 very strange??? if i drop the $ sign it inserts it as a string ProductDescription='$pdescription->plaintext' doesnt work ProductDescription='pdescription->plaintext' updates the field Link to comment https://forums.phpfreaks.com/topic/222157-text-field-update-problem-no-error/#findComment-1149540 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.