Jump to content

text field UPDATE problem no error


dflow

Recommended Posts

everthing updates besides the ProductDescription field with the parsed string

if i put ProductDescription='test' it works  :wtf: :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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.