Hmm maybe try this: pseudo code INSERT INTO `project_images` (i_name, i_type, i_project_id,i_start_num) VALUES ('$upload_project_images_name', '2', '$project_id','$i') ON DUPLICATE KEY UPDATE `project_images` SET `i_start_num` = '$i' WHERE `i_project_id` = '$prject_id' AND 'i_type' = '2.
Hmm maybe try this: // pseudo code INSERT INTO `project_images` (i_name, i_type, i_project_id,i_start_num) VALUES ('$upload_project_images_name', '2', '$project_id','$i') ON DUPLICATE KEY UPDATE `project_images` SET `i_start_num` = '$i' WHERE `i_project_id` = '$prject_id' AND 'i_type' = '2.
Thank Phill,I actually got this to work by running the UPDATE query outside of the loop. Now the code loops through adds the images then after all images have been inserted will get the last value of $i and update all the records with that value. It works out great because I will auto increment so the last one will always be $i=1 which will be the next image number.
– BandonRandon Oct 28 '09 at 18:09 You should Answer your own question and select it as the solution to close the issue/question :) Cheers! – Phill Pafford Oct 28 '09 at 18:40.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.