note 85033 added to control-structures.for

From: Date: Tue, 12 Aug 2008 11:38:07 +0000
Subject: note 85033 added to control-structures.for
Groups: php.notes 
Request: Send a blank email to php-notes+get-143385@lists.php.net to get a copy of this message
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? ---- Server IP: 69.147.83.197 Probable Submitter: 123.237.87.29 ---- Manual Page -- http://www.php.net/manual/en/control-structures.for.php Edit -- https://master.php.net/note/edit/85033 Del: integrated -- https://master.php.net/note/delete/85033/integrated Del: useless -- https://master.php.net/note/delete/85033/useless Del: bad code -- https://master.php.net/note/delete/85033/bad+code Del: spam -- https://master.php.net/note/delete/85033/spam Del: non-english -- https://master.php.net/note/delete/85033/non-english Del: in docs -- https://master.php.net/note/delete/85033/in+docs Del: other reasons-- https://master.php.net/note/delete/85033 Reject -- https://master.php.net/note/reject/85033 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#143385) next »