1
Although appellants attempt on appeal to enlarge the pre-K/post-12 class to include students at Georgia Military College, and mentioned that school in briefs in the trial court, the complaint was never amended to include students at that school in the pre-K/post-12 class. we will limit our consideration to the allegations of the complaint. "[W]here it appears from the order of the trial court that judgment was entered on consideration of the petition only, . . . the appellate court cannot broaden the base of the trial court's ruling but will look only to the petition to determine whether the petition should have been dismissed." Brackett v. H. R. Block & Co.,
119 Ga. App. 144 (1) (166 SE2d 369) (1969).Ga.) JANUARY TERM, 1997. 755While appellants may be able to prove that the two classes created by their complaint are treated differently in the area of educational funding, we do not believe they can produce facts showing that the classes they have specified are similarly situated. Children in the group which includes appellants' children are not only the beneficiaries of a constitutionally mandated right to an education at state expense, supported by taxation (Ga. Const. 1983, Art. VIII, Sec. I, Par. I), but also comprise an almost identical group of children who are required to attend school. OCGA
20-2-690.1. The other group, on the other hand, is not constitutionally entitled to be educated and is not required to be enrolled in any educational program. Such educational support as they receive from the state is not solely from taxes, but also from the proceeds of the lottery. Ga. Const. 1983, Art. I, Sec. II, Par. VIII; OCGA
50-27-3 (8). We conclude that the disparate entitlements and obligations of the two classes are sufficient to render them, as a matter of law, not similarly situated for purposes of this equal protection analysis. Since "it can be said that under no conceivable state of facts which the plaintiff[s] might prove under the allegations of the[ir] complaint would [they] be entitled to any relief[,]" the trial court did not err in dismissing the equal protection count of the complaint for failure to state a claim. Sixth St. Corp. v. City Stores Co.,
229 Ga. 99 (189 SE2d 407) (1972).2. Appellants also assert a right to enforcement of the Tuition Grant Act separate from their equal protection claim. Contending that the Act is a valid statute and that the appellees have a duty to enforce it, appellants sought in their complaint "an order requiring Defendants . . . to enforce the Grant Statute and to award Plaintiffs . . . grants under it. . . ." Since pleadings are judged by their function and not the name given by a party (Manning v. Robertson,
223 Ga. App. 139 (2) (476 SE2d 889) (1996)), it is evident that what appellants seek is awrit of mandamus: "Mandamus is an extraordinary remedy used to compel the performance of an official duty. OCGA
9-6-20." Vargas v. Morris,
266 Ga. 141 (1) (465 SE2d 275) (1996). Appellants would have the court compel a series of acts by the State (promulgating regulations, OCGA
20-2-645; producing a list of approved private schools, OCGA
20-2-646; and estimating the State's share of the grant and getting that money appropriated for that purpose by the General Assembly, OCGA
20-2-648) and by every school district in the state (receive requests for grants, conduct joint meetings with governing authorities of counties and municipalities to determine whether a need for grants exists, pass joint resolutions that a need for grants exists, and accept and process requests, OCGA
20-2-644). Although some of those actions are ministerial, others entail the exercise of discretion, e.g., the decision whether need exists in a particular school system and the legislative actions