First, let me state that I have very little php knowledge! Knowing that, my issue may be a quick fix for some of you. Basically, I want to be able to store an integer of the number of items someone has uploaded for a node. I then want to use that integer on other forms, specifically in ubercart to charge them per uploaded image. Any ideas on how this can be accomplished?

Thanks for taking the time to think on it!

Comments

skilip’s picture

Status: Active » Closed (fixed)

$num_files = count($node->field_files[0]);