[02/22/2012 2:33 AM] - SUCCESS :$value is an array, so removing all previous data...
[02/22/2012 2:33 AM] - SUCCESS :
Array
(
[0] => Resource Name 1
[1] => http://link.com/1.pdf
[2] => PDF
)
[02/22/2012 2:33 AM] - SUCCESS :Removed all custom field data from post id: 6 for the key wsm-content-downloads
[02/22/2012 2:33 AM] - SUCCESS :Beginning foreach loop to save data for $value as $entry...
[02/22/2012 2:33 AM] - SUCCESS :Successfully updated custom field data for post id: 6 for the key wsm-content-downloads with the $value as $entry Resource Name 1
[02/22/2012 2:33 AM] - SUCCESS :Returning to the beginning of data save loop or ending...
------------------------------------------------------------------
[02/22/2012 2:33 AM] - SUCCESS :Beginning foreach loop to save data for $value as $entry...
[02/22/2012 2:33 AM] - SUCCESS :Successfully updated custom field data for post id: 6 for the key wsm-content-downloads with the $value as $entry http://link.com/1.pdf
[02/22/2012 2:33 AM] - SUCCESS :Returning to the beginning of data save loop or ending...
------------------------------------------------------------------
[02/22/2012 2:33 AM] - SUCCESS :Beginning foreach loop to save data for $value as $entry...
[02/22/2012 2:33 AM] - SUCCESS :Successfully updated custom field data for post id: 6 for the key wsm-content-downloads with the $value as $entry PDF
[02/22/2012 2:33 AM] - SUCCESS :Returning to the beginning of data save loop or ending...
------------------------------------------------------------------
[02/22/2012 2:33 AM] - SUCCESS :Ended array custom field data save loop for: 6 for the key wsm-content-downloads. Custom field data for key is as follows:
[02/22/2012 2:33 AM] - SUCCESS :
Array
(
[0] => http://link.com/1.pdf
[1] => Resource Name 1
[2] => PDF
)
[02/22/2012 2:33 AM] - SUCCESS :Ending data saving operation and reloading the page...
------------------------------------------------------------------
[02/22/2012 2:33 AM] - SUCCESS :We've found content downloads for this post, setting the value of $i to 0 to start the loop...
[02/22/2012 2:33 AM] - SUCCESS :
Array
(
[0] => http://link.com/1.pdf
[1] => Resource Name 1
[2] => PDF
)
[02/22/2012 2:33 AM] - SUCCESS :Begin foreach loop for meta box downloads output: $i =0
[02/22/2012 2:33 AM] - SUCCESS :variable $i is not equal to 3 yet, so not resetting value to 0. $i = 0
[02/22/2012 2:33 AM] - SUCCESS :Incremented value of $i which now equals 1
[02/22/2012 2:33 AM] - SUCCESS :$flag=1 outputting first input with the value of http://link.com/1.pdf
------------------------------------------------------------------
[02/22/2012 2:33 AM] - SUCCESS :Begin foreach loop for meta box downloads output: $i =1
[02/22/2012 2:33 AM] - SUCCESS :variable $i is not equal to 3 yet, so not resetting value to 0. $i = 1
[02/22/2012 2:33 AM] - SUCCESS :Incremented value of $i which now equals 2
[02/22/2012 2:33 AM] - SUCCESS :$flag=2 outputting second input with the value of Resource Name 1
------------------------------------------------------------------
[02/22/2012 2:33 AM] - SUCCESS :Begin foreach loop for meta box downloads output: $i =2
[02/22/2012 2:33 AM] - SUCCESS :variable $i is not equal to 3 yet, so not resetting value to 0. $i = 2
[02/22/2012 2:33 AM] - SUCCESS :Incremented value of $i which now equals 3
[02/22/2012 2:33 AM] - SUCCESS :$element == PDF, setting value of $select_pdf to selected="selected"
[02/22/2012 2:33 AM] - SUCCESS :$flag=3 outputting third input (download type select list) with the value of PDF