Re: [PHP-DB] LAMP

2004-08-02 Thread Steve Morgan
Almost all major Linux distros. come with Apache and PHP. I know that redhat 9 even had php/mysql. Fedora core has it too, however none of them have php 5 that i know of. Steve Gavin Amm wrote: I'd really like to find a Linux distro that is a LAMP system right out of the box. (Linux, Apache,

[PHP-DB] oop?

2004-08-02 Thread Steve Morgan
For awhile i didn't touch OOP PHP, classes etc... because people talked about how slow it was, but now i'm working on a site that has to do things the exact same on page to page, but i think that going with classes and funcitons might be better, because we have to carry a lot of data from

[PHP-DB] replacing dynamic variable in preg_replace

2004-09-15 Thread Steve Morgan
I am working on a script which takes a list of variables form a database. The problem i am currently having is some of the variables have other variables in the content , i.e. $temp=h1$title/h1 (made up example), is something that might come out of the mysql. $query=mysql_query(SELECT