The woman is in stable condition and the 2-year-old is in guarded, but stable condition.
Police say two men were hanging out at the scene of the shooting when a white Ford Crown Victoria rolled by.
"Of the males who were standing, one of them produced a gun," said Lt. Frank Vanore of the Philadelphia Police Department. "That gun he fired towards the vehicle."
Eyewitnesses say one of the suspects fled on foot. The Crown Victoria sped off while the two victims lay bleeding on the sidewalk.
The shooting occured as students were leaving Jones Middle School.
Debbie Ramos heard the shots. She and other parents scrambled for cover.
"It's terrifying. My kids go to the chinese right there. Now I'm telling them, when they get out of school, 'You're not even going to the corner.' You've got to keep them indoors because you don't know what's going on out here," Ramos said.
The police are looking for the shooter, described as a black male, 20 to 25 years old, 5'8" tall, weighing 190lbs. He was wearing blue capris or shorts and a white t-shirt, and was last seen westbound on Anne Street.
Police are looking for the public's help identifying the suspects and those in the Crown Victoria.
You can get the latest crime statistics from the Philadelphia Police by CLICKING HERE for the force's crime data mapping site.