RE: [PHP] Newbie Book & Database Question

2002-04-25 Thread Chris Montgomery

First, I want to thank everyone for their quick responses. Good list here.

Second, yes ColdFusion is "good enough." I am just interested in broadening
my skill set and learning something new. :)

Chris Montgomery[EMAIL PROTECTED]

Airtight Web Services   http://www.airtightweb.com
Web Development, Web Project Management, Software Sales
210-490-3249/888-745-7603

> -Original Message-
> From: Denis L. Menezes [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 25, 2002 9:02 AM
> To: [EMAIL PROTECTED]; David Garcia Aristegui
> Subject: Re: [PHP] Newbie Book & Database Question
>
>
> I have done php only and not cold fusion. Just out of curiosity,
> why are you
> trying to do php? Isn't Coldfusion good enough?
>
> Denis


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Newbie Book & Database Question

2002-04-25 Thread Denis L. Menezes

I have done php only and not cold fusion. Just out of curiosity, why are you
trying to do php? Isn't Coldfusion good enough?

Denis
- Original Message -
From: "David Garcia Aristegui" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 25, 2002 9:20 PM
Subject: Re: [PHP] Newbie Book & Database Question


> Try "PHP and MySQL Web Development", by Luke Welling and Laura Thompson;
only one thing, maybe you'll have troubles with the form variables, put this
code at the beginning of all book examples
> foreach (array_merge($_POST,$_GET) as $key=>$val)
> {
> global $$key;
> $$key=$val;
> }
> Code made by Alok K. Dhir ;-)
>
>
>
> At 08:02 25/04/2002 -0500, you wrote:
> >Howdy,
> >
> >I have been developing with ColdFusion for nearly five years and want to
> >learn PHP. For someone who has never done anything with PHP before, what
> >*one* book would you recommend as a good primer to get started learning
PHP?
> >
> >Also, do most PHPers use MySQL as your database when building dynamic web
> >sites, or do you prefer alternative databases like Postgres? From what I
> >have seen from afar, MySQL seems to be the dominant one, but I have read
> >that Postgres is more robust.
> >
> >Thanks in advance and cheers from San Antonio,
> >
> >Chris Montgomery[EMAIL PROTECTED]
> >
> >Airtight Web Services   http://www.airtightweb.com
> >Web Development, Web Project Management, Software Sales
> >210-490-3249/888-745-7603
> >
> >
> >--
> >PHP General Mailing List (http://www.php.net/)
> >To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Newbie Book & Database Question

2002-04-25 Thread Erik Price


On Thursday, April 25, 2002, at 09:20  AM, David Garcia Aristegui wrote:

> Try "PHP and MySQL Web Development", by Luke Welling and Laura 
> Thompson; only one thing, maybe you'll have troubles with the form 
> variables, put this code at the beginning of all book examples
> foreach (array_merge($_POST,$_GET) as $key=>$val)
> {
> global $$key;
> $$key=$val;
> }
> Code made by Alok K. Dhir ;-)

The above is a creative way around using superglobals, but I recommend 
that you start learning PHP using them.  An excellent, if somewhat easy, 
challenge will be to take any of the PHP books (every single one I've 
seen has used the deprecated register_globals=on method), use it to 
learn PHP, and simultaneously use the appropriate superglobal prefix for 
the variables.  Thus, when the PHP book discusses making a GET method 
form or including vars on the querystring in a href attribute, make sure 
that in the "receiving" script you use $_GET['varname'] instead of 
$varname (as the book will no doubt use).  Same for $_COOKIE, $_SERVER, 
$_SESSION, $_SERVER (read the man page for this one), and $_POST.


Erik





Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Newbie Book & Database Question

2002-04-25 Thread esivertsen

I started with "PHP bible" by Converse/Park on IDGbooks.
Never needed anything more; used the manual and the web afterwards; for reference and 
tips.
Another nice book is Wrox' "professional PHP programming".

All the best, 

Eivind



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Newbie Book & Database Question

2002-04-25 Thread 1LT John W. Holmes

I recommend The Manual.

www.php.net/manual/en/

Honestly it's the best book you can read in the beginning. There are tons of
examples and comments and you'll know exactly what's going on. No, you don't
have to read every function, but at least read the first page for each
category, that'll give you an idea of where to look when you have questions.

After you've read that, then start on some tutorials. I've never touched a
book for PHP. You don't need it with all of the free resources online.

As for databases, yeah, MySQL is generally more popular because it's easy to
use and is available on almost any platform. I've never seen a windows
binary for PGSQL, although you can compile it yourself. PG is more robust
and implements more features, but for most websites, these are features
you'll never need.

My $0.02

---John Holmes...

- Original Message -
From: "Chris Montgomery" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 25, 2002 9:02 AM
Subject: [PHP] Newbie Book & Database Question


> Howdy,
>
> I have been developing with ColdFusion for nearly five years and want to
> learn PHP. For someone who has never done anything with PHP before, what
> *one* book would you recommend as a good primer to get started learning
PHP?
>
> Also, do most PHPers use MySQL as your database when building dynamic web
> sites, or do you prefer alternative databases like Postgres? From what I
> have seen from afar, MySQL seems to be the dominant one, but I have read
> that Postgres is more robust.
>
> Thanks in advance and cheers from San Antonio,
>
> Chris Montgomery[EMAIL PROTECTED]
>
> Airtight Web Services   http://www.airtightweb.com
> Web Development, Web Project Management, Software Sales
> 210-490-3249/888-745-7603
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Newbie Book & Database Question

2002-04-25 Thread Steve Bradwell

Professional PHP Programming from WROX publishing is a good book too.
I use php and MySQL.

-Steve.

-Original Message-
From: Chris Montgomery [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 25, 2002 9:02 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Newbie Book & Database Question


Howdy,

I have been developing with ColdFusion for nearly five years and want to
learn PHP. For someone who has never done anything with PHP before, what
*one* book would you recommend as a good primer to get started learning PHP?

Also, do most PHPers use MySQL as your database when building dynamic web
sites, or do you prefer alternative databases like Postgres? From what I
have seen from afar, MySQL seems to be the dominant one, but I have read
that Postgres is more robust.

Thanks in advance and cheers from San Antonio,

Chris Montgomery[EMAIL PROTECTED]

Airtight Web Services   http://www.airtightweb.com
Web Development, Web Project Management, Software Sales
210-490-3249/888-745-7603


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Newbie Book & Database Question

2002-04-25 Thread David Garcia Aristegui

Try "PHP and MySQL Web Development", by Luke Welling and Laura Thompson; only one 
thing, maybe you'll have troubles with the form variables, put this code at the 
beginning of all book examples 
foreach (array_merge($_POST,$_GET) as $key=>$val) 
{ 
global $$key; 
$$key=$val; 
}
Code made by Alok K. Dhir ;-)



At 08:02 25/04/2002 -0500, you wrote:
>Howdy,
>
>I have been developing with ColdFusion for nearly five years and want to
>learn PHP. For someone who has never done anything with PHP before, what
>*one* book would you recommend as a good primer to get started learning PHP?
>
>Also, do most PHPers use MySQL as your database when building dynamic web
>sites, or do you prefer alternative databases like Postgres? From what I
>have seen from afar, MySQL seems to be the dominant one, but I have read
>that Postgres is more robust.
>
>Thanks in advance and cheers from San Antonio,
>
>Chris Montgomery[EMAIL PROTECTED]
>
>Airtight Web Services   http://www.airtightweb.com
>Web Development, Web Project Management, Software Sales
>210-490-3249/888-745-7603
>
>
>-- 
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php