From owner-freebsd-questions Wed Sep 2 19:28:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA25390 for freebsd-questions-outgoing; Wed, 2 Sep 1998 19:28:21 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from modgud.nordicdms.com (h21-168-107.nordicdms.com [207.21.168.107] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id TAA25382 for ; Wed, 2 Sep 1998 19:28:20 -0700 (PDT) (envelope-from walton@nordicdms.com) Received: (qmail 23507 invoked by alias); 3 Sep 1998 02:27:17 -0000 Message-ID: <19980903022717.23505.qmail@modgud.nordicdms.com> Received: (qmail 23493 invoked from network); 3 Sep 1998 02:27:17 -0000 Received: from mail-ftp.nordicdms.com (HELO mail-ftp) (207.21.168.100) by mail.nordicdms.com with SMTP; 3 Sep 1998 02:27:17 -0000 From: "Dave Walton" Organization: Nordic Entertainment Worldwide To: Dan Mahoney , freebsd-questions@FreeBSD.ORG Date: Wed, 2 Sep 1998 19:27:16 -0700 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: FreeBSD, Apache and databases Reply-to: walton@nordicdms.com In-reply-to: <19980902174401.13682@ns1.wolf.com> References: <19980903003242.22529.qmail@modgud.nordicdms.com>; from Dave Walton on Wed, Sep 02, 1998 at 05:32:42PM -0700 X-mailer: Pegasus Mail for Win32 (v3.01b) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 2 Sep 98, at 17:44, Dan Mahoney wrote: > I suspect it's just because I've never taken the time to figure > out how to do advanced database activities using PHP/FI, while > doing so in Perl is straightforward and usually pretty simple. > > I've had others tell me as well that it's a lot simpler to put > together a new app in PHP/FI than in Perl, but I seem to have > some difficulty getting my mind around the PHP/FI way of doing > things... As someone else pointed out, PHP/FI is just PHP now that version 3 is out. A *lot* has changed since it was PHP/FI. Anyway, PHP has built-in functions for connecting to and running queries on databases. Something like this, for example: $conn = mysql_connect($host, $user, $password); mysql_select_db($db_name, $conn); $result = mysql_query($sql, $conn); $array = mysql_fetch_row($result); I, on the other hand, seem to have difficulty getting my mind around DBI/DBD. :) Oh, and Apache/PHP/MySQL runs great on FreeBSD. (See, this is on topic!) Dave ---------------------------------------------------------------------- Dave Walton Webmaster, Postmaster Nordic Entertainment Worldwide walton@nordicdms.com http://www.nordicdms.com ---------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message