Rodney H , MarkR , thank you both !
a) The 100 scripts could probably have been 50 .
Example : I have update_customer.php ( select a customer by alphabet ) and then update_customer-1.php which chooses a customer and then a third, update_customer_chosen.php and finally update_customer_chosen-process.php that runs the sql !
The whole site is full of such stuff for product names, models, specs etc !
b)
Then take care to test every page which has changed (or is affected by the changes in other files).
This is what i am afraid off - even assuming i start alphabetically, theres always a chance some darned script gets left out .
c)Umm.. I save my db names etc in a file called protect.php but dont kow how that would work?
If say , in update_customer_chosen-process.php
I have a statement :
$sql= "UPDATE `ALL_CUSTOMERS_STATE-WISE` SET `Company` = '$company'" "
and so on...
how would that table name get pulled out from protect.php ?