PHP - Moved: Wiki - Code Error
This topic has been moved to Third Party PHP Scripts.
http://www.phpfreaks.com/forums/index.php?topic=333755.0 Similar TutorialsHi All I want to use wiki style bold (''') and italic ('') code form my form. So, it would be easy to use str_replace() for the opening tag but if you are using '''hello''' to bold the word hello, how can you differentiate the tags? I guess you would need some code to replace this alternatively but I haven't been able to find anything. I think Wikis are built from php so has anyone got any ideas? Many thanks Ian This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=344105.0 This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=315281.0 This topic has been moved to Apache HTTP Server. http://www.phpfreaks.com/forums/index.php?topic=343321.0 This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=323310.0 This topic has been moved to Other Libraries and Frameworks. http://www.phpfreaks.com/forums/index.php?topic=311225.0 I'm trying to make a League of Legends (a video game) community website, both as a personal project and for practice. Now the game has a lot of champions, each of whom have 5 unique abilities. Now, I thought about manually inputting all the details about each champion into a MySQL database, but that would long and tedious, and I don't really have the time for it now. Also, the game patches very oftern (like, once every 2 weeks) which changes many of the stats, etc. of the champion, and it is not possible for me to keep manually updating these every time there is a patch. Fortunately, there is a League of Legends Wiki which has all the data I need in their specific champion pages, which they keep updated per patch. So I was wondering if there was any way to get the data from the divs in the wiki, and have it display on my site. What I want to do in my website is that whenever someone types a champion's name (in a post or whatever), I want it to display a hover-over dialog with some of the champions details. And a lot of other features such as that. In plain English I need a way to : > Tell PHP to go to the wiki's source code on a specific page > Find a specific div container > Get X data from there > Pass X data into a function to display the hover-over I think this way, I would not have to maintain a database as I can leech off the wiki's data. I have not coded anything like this before, so I would like a few pointers as to how to achieve this. Any help will be appreciated! This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=306682.0 This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=357832.0 This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=331054.0 This topic has been moved to PHP Regex. http://www.phpfreaks.com/forums/index.php?topic=329803.0 This topic has been moved to mod_rewrite. http://www.phpfreaks.com/forums/index.php?topic=318218.0 This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=351208.0 This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=321480.0 This topic has been moved to Other Libraries and Frameworks. http://www.phpfreaks.com/forums/index.php?topic=357038.0 This topic has been moved to Apache HTTP Server. http://www.phpfreaks.com/forums/index.php?topic=355524.0 This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=349291.0 This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=327615.0 This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=320009.0 This topic has been moved to HTML Help. http://www.phpfreaks.com/forums/index.php?topic=334287.0 |