|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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. -- |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Wings wrote:
> Does anyone know of a simplified php tutorial resource that just lists legal > code examples? The online manual at www.php.net -- //Aho |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
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. 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 -- Newsguy.com - Unlimited Accounts Now with 32 concurrent connections |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
|
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
"Tom" <tom@to.com> 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 ed a lot. It s, because once I know something I see no end of ways to apply it. Must be something like that for php out there somewhere. |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
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 a lot. |
|
![]() |
| Outils de la discussion | |
|
|