Making a map... help!
Hello.
i have seen the tutorial "Exploring system" from PTGigi. I understand it, but i have a problem. When i put "hello" (for example) in the article content, the pages works fine and show "hello". PHP Code:
PHP Code:
Please can you help me? thanks |
The code probably isn't working because html and php don't just mix like that. Inside the article content tag, turn all of the double quotes to one quotes and see if that works (but not outside, because that's php code).
That code is rather outdated as well and doesn't work properly, anyway. :c If you'd like, I uses php code for a random explore page - it doesn't let you do scripted adventures, but it lets you do random phrases that it'll select on and also chances (so you can do it that an adoptable promo code page could be more rare or something). I can give you that. |
Thanks! with the single quote it works!
PHP Code:
|
glad to know that was what fixed it. :3 You should always keep that in the back of your head when working with html and php - all html needs to be in single quotes. it'll save your life, trust me. (so many support threads before I learnt that...)
|
Gah, sorry! I hadn't realized my year-old tutorial was still in use, even if I never got around to completing it. XD I've added a note at the top of the tutorial now that states it's outdated so it won't confuse people anymore. Sorry again about that ^-^"
Maybe I'll get around to updating it (or more likely, just making a new thread) when I actually start up a new site :3 |
Quote:
Quote:
I have been trying and i can make a map x) but i dont know how to, for example, add cash when i click in a specify place. Would be great if you continue with the tutorial! :B i will be waiting! P.D.: Sorry if i speak a bad english, i'm not native speaker xD |
All times are GMT -5. The time now is 11:37 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.