PDA

View Full Version : Want to create a PHP file


ryanranjit
07-10-2011, 12:23 PM
Hi all,

My website is: www.examgeeks.com

I want to create PHP file such that when a user clicks on examgeeks contest tab in the navbar, then a table comes up showing the username and corresponding posts from the database.


Please help,

Thanks in advance!!

Ranjit

kh99
07-10-2011, 01:07 PM
Here's an article on how to create a page: https://vborg.vbsupport.ru/showthread.php?t=228112

Or if the page is simple you could instead use the misc.php page by creating a plugin using hook misc_start and code like:
if ($_REQUEST['do'] == 'contest')
{
// build table html
print_output($output); // or end with print_output($templater->render()); if your output is a template
}