So I want to make a web based text game. But know nothing about coding :D I'm pretty sure php would be the best to do it in but not sure, either way were should I start?

then how come you start when you don't know a bit of coding

I'd start by reading a book on PHP coding. I don't mean this in a mean, I just mean that if you'd really like to learn how to code in PHP, then there are a lot of really good books out there.