Re: Need a simplified resource




"Tom" <tom@xxxxxx> wrote in message news:ffipcf01ou3@xxxxxxxxxxxxxxxxxx
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.


.



Relevant Pages

  • Re: mysql apache - page never finish loading
    ... my PHP pages don't want to finish loading. ... echo 'a'; ... Opera and IE behaves somewhat differently. ... All this happens whenver I connect to mysql. ...
    (comp.lang.php)
  • Re: I am totally stumped..with this on..LOAD_FILE Mysql+PHP= FSCK!!
    ... What I am trying to do is to upload files and stuff them in a mysql database. ... I copied the temporary file to somewhere else, and then handed it to MySQL..THAT WORKED.. ... Is there a way to force a close on the file..maybe that's the problem Mysql is opening a file that is not flushed to disk maybe? ... I gew the feeling its maintaining its own picture of file objects, and doesn't actually flush to the disk unless you do a copy or close php.. ...
    (comp.lang.php)
  • Re: I am totally stumped..with this on..LOAD_FILE Mysql+PHP= FSCK!!
    ... What I am trying to do is to upload files and stuff them in a mysql database. ... I copied the temporary file to somewhere else, and then handed it to MySQL..THAT WORKED.. ... Is there a way to force a close on the file..maybe that's the problem Mysql is opening a file that is not flushed to disk maybe? ... I gew the feeling its maintaining its own picture of file objects, and doesn't actually flush to the disk unless you do a copy or close php.. ...
    (comp.lang.php)
  • Re: com_dotnet
    ... And if MySQL isn't installed, the DLL won't load and phpinfowill show MySQL support isn't enabled. ... The MySQL interface is NOT compiled into PHP on the distributed Windows binaries - or you'd never be able to run PHP unless you had MySQL installed. ... *SOME* extensions are protocols, some are functional resources, and some are just type libraries. ... If you're going to compile the extension into PHP itself, the libraries must be available at compile time, and when you run PHP, or PHP won't load. ...
    (comp.lang.php)
  • Re Re: PHP 5.2.4 <= various mysql functions safemode & open_basedir bypass
    ... > various mysql functions safemode & open_basedir bypass ... PHP is currently very used because it's easy to use. ... Apache has directory restrictions. ... # if the mysql user has perms, ...
    (Bugtraq)