Given that some users only run one project, they get two posts under this scenario..
Given that some users only run one project, they get two posts under this scenario..
sanity check
if (num_projects!=1)
{ run_combined(); }
Semi-retired from Free-DC...
I have some time to help.....
I need a new laptop,but who needs a laptop when you have a phone...
Now to remember my old computer specs..
Doesn't work like that..
It's a single sql statement to find all 'unposted' milestones across the users. I'd have to run a separate sql statement on each milestone found to check for distinct(proj) in the user table which would be somewhat inefficient. Unless I maintained counts which is just another layer to consider.
Far better to allow the user to choose.
Is it not possible to do this check when they first allow the app?
I mean do a row count on the number returned when you do the sql WHERE cpid='$thecpidtheyentered'; ? or is across multiple tables?
Semi-retired from Free-DC...
I have some time to help.....
I need a new laptop,but who needs a laptop when you have a phone...
Now to remember my old computer specs..
And what if they subsequently added another project ?
if they add a new project since this would add a new record. It should be possible to check if they are using the "boinc milestones" app if so check if "combined milestones" is "flagged" as "N" (i.e 1 project) and flag it as "Y" - more than 1....
Yes?
Semi-retired from Free-DC...
I have some time to help.....
I need a new laptop,but who needs a laptop when you have a phone...
Now to remember my old computer specs..