note 85033 rejected from control-structures.for by mgf

From: Date: Wed, 20 Aug 2008 09:05:13 +0000
Subject: note 85033 rejected from control-structures.for by mgf
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-143670@lists.php.net to get a copy of this message
Note Submitter: ngprasad dot lamp at gmail dot com ---- I have products table with field's product id and product name. I have 1000 records in products table. But 100 product names are wrong. For that, I am uploading new excel file and comparing excel product id and products table product id. If it matches, I am updating that product name. For the above process, I am using for loop, Select query and Update query. For 1000 records for loop is working fine. What about, if products table have 10Lacs records and 1Lac product names are wrong. Is for loop working? If not what is the solution for executing 10Lacs records?

« previous php.notes (#143670) next »