Need a simplified resource
am 22.10.2007 05:37:42 von Wings
Does anyone know of a simplified php tutorial resource that just lists legal
code examples?
For example:
****
To print to a page:
echo 'hello world';
****
Seems like everything I can find gets me bogged down in writing a long
sample program, teaches mysql, spends two lessons telling me what I need to
run php, or follows the history of inventing php, etc.
I'm sure I'll need that stuff later, but right now I just want to experiment
in a hurry.
Thanks in advance.
--
Re: Need a simplified resource
am 27.10.2007 08:00:51 von Wings
"Tom" wrote in message news:ffipcf01ou3@drn.newsguy.com...
> On Sun, 21 Oct 2007 20:37:42 -0700, Wings wrote...
>>
>>Does anyone know of a simplified php tutorial resource that just lists
>>legal
>>code examples?
>>
>>For example:
>>
>>****
>>To print to a page:
>>echo 'hello world';
>>****
>>
>>Seems like everything I can find gets me bogged down in writing a long
>>sample program, teaches mysql, spends two lessons telling me what I need
>>to
>>run php, or follows the history of inventing php, etc.
>>
>>I'm sure I'll need that stuff later, but right now I just want to
>>experiment
>>in a hurry.
>>
>>Thanks in advance.
>
> Lots of the instruction books point to MySQL information, since that is a
> popular method for storing and retrieving information. Running an "echo()"
> command on a plain string of text is also sort of a waste, since you can
> simply
> do that with HTML, without getting PHP to parse information.
I know. That was just one example.
>
> PHP has a lot of applications, but you're basically using it to generate
> dynamic
> content on a web page. Maybe you need to find an application, for
> something you
> can use, and learn how to do it.
>
> Ironically you may find yourself looking for basic SQL commands to learn
> how to
> use the MySQL functions in PHP to store and access information.
>
> Tom
Thanks, Tom. I hear you, but I remember listings for BASIC and Fortran. For
the way I like to learn - jumping in and doing - it helped a lot. It helps,
because once I know something I see no end of ways to apply it.
Must be something like that for php out there somewhere.
Re: Need a simplified resource
am 30.10.2007 08:02:08 von Wings
J.O. Aho wrote:
> Wings wrote:
> > Does anyone know of a simplified php tutorial resource that just lists legal
> > code examples?
>
> The online manual at www.php.net
>
Thanks, J. O. I found a downloadable manual there. That should help a
lot.