Re: [PHP4BETA] php4 + mysql
| From: | David Robley | Date: | Thu, 09 Dec 1999 23:38:01 +0000 |
| Subject: | Re: [PHP4BETA] php4 + mysql | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-7744@lists.php.net to get a copy of this message | ||
On 9 Dec, Michael Andrewes wrote:
>
> Hi,
>
> This most likely the same in beta 4 as in php3 but i am using php4 so I
> have used this list.
>
> I am planning on having a number of html templates stored in a mysql
> database,
> calling these templates from within a php script and displaying the
> contents.
> however they are templates and in these templates I want to include php
> commands
> to access information from a mysqldatabase (the content to be put into
> the templates).
> will php do this?
> eg
> php calls mysql --> return from mysql has php commands to access db -->
> output.
>
> if not then I will not use mysql to hold the templates. and use shtml
> instead, but it would be preferable to do it all in sql.
>
> thanks 8)
>
> Michael Andrewes
> BiS
> --
> It said "Requires Windows 95 or better". So I installed Linux...
eval() should do the job for you.
--
David Robley
WEBMASTER | Phone +61 8 8374 0970
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA
Visit the PHP mirror at http://au.php.net:81/
<<<<<<<<<<<<< WARNING * END OF TEXT * STOP READING HERE
>>>>>>>>>>>>>>