Use localhost. Free web hosting using php cannot be trusted. Sites that offer this may use out of date php or mysql versions. I suggest you download the latest XAMPP (or similar) and test, test, test on localhost. Decide on a good host that gives you everything you need - do not go on ecomony. You get what you pay for. See other recent threads on hosting.