To evaluate the efficacy of prucalopride compared to placebo for the treatment of functional constipation in a paediatric population, aged ≥ 6 months to < 18 years. A 16-week open-label comparator (PEG) controlled part will follow, to document safety and tolerability up to 24 weeks.