Ok, I have created a "rules" page to add the details of how to bid and rules behind the way we do things.
I want this page to be completely seperate from the News, because I would still like to add new News and let that continue to stack up without touching the Rules.
Howto: Add a non-Eqdkp page
The above link lists how to add all the PHP scripting to an HTML page. You enter all the HTML you want to display and it will ensure you still have the look and feel of your eqdkp.
I have discovered that in doing this, you lose the itemstats function because everything is listed in the HTML and not entered via the database.
I have created:
rules.php
rules.html
In the MySQL database, I created: (my prefix is CG_TKP)
CG_TKP_rules (Table)
rules_title (field - 255)
rules_text (field - text unlimited)
I would like to simply put the data into the database (PHPMyAdmin) by hand (I don't want to create any kind of form or complicatedness).
However, I do not know how to do the query in the PHP file to display it in the HTML. I know you have to setup the functions in the PHP file and call the display in the HTML, but I'm not exactly sure how.
I have entered all the data into the database to look just like a News Entry. Example:
------------------------------------------------------------------- [b][url=http://thottbot.com/?n=743923][img]http://s104658971.onlinehome.us/CG-WOW/Images/20x20/inv_jewelry_ring_47.gif[/img] Bloodlord Mandokir[/url][/b] -[item]Zanzil's Seal[/item]: 1.5 tkp -[item]Animist's Leggings[/item]: 2.5 tkp -[item]Hakkari Loa Cloak[/item]: 2 tkp -[item]Bloodtinged Kilt[/item]: 2.5 tkp -[item]Overlord's Crimson Band[/item]: 1.5 tkp -[item]Blooddrenched Grips[/item]: 2.5 tkp -[item]Bloodsoaked Pauldrons[/item]: 2.5 tkp -[item]Primalist's Seal[/item]: 1.5 tkp -[item]Halberd of Smiting[/item]: 5 tkp -[item]Bloodlord's Defender[/item]: 5 tkp -[item]Mandokir's Sting[/item]: 5 tkp -[item]Warblade of the Hakkari[/item]: 5 tkp -------------------------------------------------------------------
Basically, I want whats in the News page of CG TKP to go into the Rules page so I can use the News page as normal.
Can anyone help me out with this?
Greenoaf


Sign In
Register
Help

Back to top
MultiQuote

