I have the fields population with data now!
I ended up having to split my fields into 2 sections to get it to work.
Basically I wanted 10 blank inputs so I did a count() of the users current
$skills
Then did a foreeach on the $skills to get the data into those fields
Then took the difference from the $count to make up missing fields. So if
user has 0 skills make 10 blank fields, then if they saved 2 records, so
next time they go to edit loop thru the 2 $skills and then build 8 empty
fields. I know sounds confusing but thanks John for your help.
Dave
No comments:
Post a Comment