[PHP] newbie questions

2007-10-20 Thread Ravi
Guys, I am fairly new to PHP. Here are a few questions, if anybody can answer it will help me get started. Thanks I am trying to build a website and I would like to do the following in my scripts 1. I want to return response to the browser and AFTERWARDS make a log entry in to a database.

Re: [PHP] newbie questions

2004-08-31 Thread -{ Rene Brehmer }-
Documented research indicates that on Sun, 29 Aug 2004 21:00:06 +, Paul Waring wrote about "Re: [PHP] newbie questions": >> The constructor for Content accepts an >> object ... why is &$db used instead of $db? > >&$variable means to pass the variable by

Re[2]: [PHP] newbie questions

2004-08-29 Thread Kevin Bridges
Hello Torsten, Thanks for the answers ... it's all becoming clearer. Sunday, August 29, 2004, 3:08:01 PM, you wrote: TR> Hi Kevin, TR> with PHP4 &$db means the value is passed by reference. Otherwise a copy of TR> $db would be passed to the method. See here: TR> http://de2.php.net/references T

Re: [PHP] newbie questions

2004-08-29 Thread Paul Waring
> The constructor for Content accepts an > object ... why is &$db used instead of $db? &$variable means to pass the variable by reference (as opposed to passing by value, which is the default). Instead of making a copy of the variable, you are telling $this->db to point to the same point in memor

[PHP] newbie questions

2004-08-29 Thread Kevin Bridges
Greetings php-general, I'm just starting out with php ... judging from the posts I've been reading on this list I'm thinking this question is so basic it might almost be pathetic! I'm assuming the answers are in the php manual, but I have not found the correct pages ... any pointers to manual

Re: [PHP] Newbie questions

2004-02-11 Thread John Nichel
Jason Wong wrote: Anything else anyone could tell me would be great! Depends on what you want to know. Almost every problem that you will come across will be covered in: - the php manual - the list archives - google Don't forget about Mr. Holmes. I betcha he's got php scribbled all over t

Re: [PHP] Newbie questions

2004-02-11 Thread Jason Wong
On Thursday 12 February 2004 01:03, James Marcinek wrote: > I have a couple of questions I'd like to ask: > > 1.) Are there built in libraries to connect to DB2? > Nothings clear from the documentation I've read. I see > that there's libraries for Oracle, Informix, MySQL. Apparently so, ask googl

[PHP] Newbie questions

2004-02-11 Thread James Marcinek
Hey Everyone, I have a couple of questions I'd like to ask: 1.) Are there built in libraries to connect to DB2? Nothings clear from the documentation I've read. I see that there's libraries for Oracle, Informix, MySQL. 2.) If there is a DB2 library(support or whatever its called, someone enligh

Re: [PHP] Newbie Questions

2003-01-21 Thread [-^-!-%-
Also checkout webmonkey.com and devarticles.com =P e p i e D e s i g n s www.pepiedesigns.com Providing Solutions That Increase Productivity Web Developement. Database. Hosting. Multimedia. On Tue, 21 Jan 2003, Neil Freeman wrote: > Have a look on devshed.com > > Bryan Cassidy wrote: >

Re: [PHP] Newbie Questions

2003-01-21 Thread Bryan Cassidy
I just know some very basic html. lol. ya i know i know. I just havent had time to set down and learn the things I want to learn until now. On Tue, 21 Jan 2003 11:00:29 -0500 David T-G <[EMAIL PROTECTED]> wrote: > Bryan -- > > [BTW, I could not find your key on us.php.net or eu.php.net; is it on

Re: [PHP] Newbie Questions

2003-01-21 Thread David T-G
Bryan -- [BTW, I could not find your key on us.php.net or eu.php.net; is it on a keyserver?] ...and then Bryan Cassidy said... % % Could someone point me to a VERY good doc for learning PHP for a % NEWBIE!!! Something I can understand from the beginning to the end. YES Do you have any programmi

RE: [PHP] Newbie Questions

2003-01-21 Thread Edward Peloke
Cassidy Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Newbie Questions Have a look on devshed.com Bryan Cassidy wrote: > Could someone point me to a VERY good doc for learning PHP for a > NEWBIE!!! Something I can understand from the beginning to the end. YES > I am willing to put my time into lea

Re: [PHP] Newbie Questions

2003-01-21 Thread Neil Freeman
Have a look on devshed.com Bryan Cassidy wrote: Could someone point me to a VERY good doc for learning PHP for a NEWBIE!!! Something I can understand from the beginning to the end. YES I am willing to put my time into learning and reading docs as long as they are clear and made for what they say

[PHP] Newbie Questions

2003-01-21 Thread Bryan Cassidy
Could someone point me to a VERY good doc for learning PHP for a NEWBIE!!! Something I can understand from the beginning to the end. YES I am willing to put my time into learning and reading docs as long as they are clear and made for what they say they are made for. I wont waste my time with somet

Re: [PHP] (newbie) questions abot vars and args

2002-07-26 Thread Martin Clifford
1) To echo the variables name instead of it's value, surround it instead by single quotes, not double. echo '$var' OUTPUTS $var echo "$var" OUTPUTS the contents of $var 2) Checkout the func_get_args() function. http://www.php.net/manual/en/function.func-get-args.php HTH! Martin Clif