Log in

View Full Version : Creating a PHP page with templates


obiwan8472
01-24-2004, 01:18 PM
Hi, I'm on good old VB3 rc3.
I have a php with some SQL on it and i want to link with vb, so i get all the headers, footers and colour styles on it.

I did this on VB2 and had to put this line in the PHP page

eval("dooutput(\"".gettemplate('totalhouses')."\");");

However it does not work in VB3. Any ideas on where to look? I did a search but revealed nothing.

assassingod
01-24-2004, 01:46 PM
Simply, it's:

eval('print_output("' . fetch_template('template name') . '");');