PDA

View Full Version : Creating a new 'page' with my own db driven info on it


KingAdora
06-10-2007, 01:14 PM
Hi,

I don't know if there's a mod for this already, my searches don't show much... but this is what I need:


1. A new page on my forum, such as /info.php

2. This page should have the same layout as the forum, with just one big block in the middle for my text (generated from php).

3. Should also for url such as info.php?find=tree


So some sort of quick php page that outputs all the standard vB template (so it looks the same) and then allow me to put some php code in the middle to connect to my DB table and use a select statement to pull information down, depending on the querystring, i.e. .php?name=tree etc, etc.

This seems like it shouldn't be too hard (the php I need to put in the middle is already done) so I just need to know how to copy the outer template stuff. I hope a mod already exists too!

Thank you for any information :)

Lynne
06-10-2007, 03:44 PM
You may want to look at this article: https://vborg.vbsupport.ru/showthread.php?t=62164

Antivirus
06-10-2007, 04:46 PM
You might also find vbadvanced CMPS to be useful. www.vbadvanced.com