Thank you macman104 .
Well a weak base(eg NaHCO3) will react with benzoic acid,producing an ionic compound which will dissolve in water.Ionic compounds tend not to dissolve in nonpolar solvents such as diethyl ether or petrol (gasoline), so I guess the resultant compound from the reaction of benzoic acid and a weak base won't dissolve in organic solvents.Later, after getting rid of benzoic acid from the mixture(but I don't know how to separate it out), I can introduce strong base(sodium hydroxide) to dissolve the phenol(make it water soluble ionic compound) .But upto this point I'm still none the wiser..I can't figure out how to seperate each one out since everything still remains as a mixture!
Can you please give me a bit of explanation of what to do?
Thanks.