[thelist] Advanced PHP mailing list?

R.Livsey R.Livsey at cache-22.co.uk
Wed Jul 31 07:49:02 CDT 2002


> [snip]
> >>>>If there isn't one around, would anyone be interested
> >>>>if I set one up?
> >>>
> >>>Yes, passionately :-)
> >>>
> >>
> >>Count me in too...
> >
> >
> > Ditto
>
> Ditto ditto.
> [/snip]
>
> +1
>

+1 here too.

There are pleanty of places around that discuss the basics, but not many
for hardcore PHP freaks to hang out :)

<tip type="PHP">

print_r() is a very handy function which prints out a variable in human
readable format.
Very useful for debugging arrays.

Eg :

    $arr = array ('name' => 'Richard', 'day' => 'Wednesday', 'dob' =>
array ('21','08','81'));

print_r($arr) would print out :

Array
(
    [name] => Richard
    [day] => Wednesday
    [dob] => Array
        (
            [0] => 21
            [1] => 08
            [2] => 81
        )
)

Much easier than a bunch of for/while loops.

</tip>

R.Livsey
Incutio Web Developer
[ PHP | Perl | mySQL | Java ]
w : cache-22.co.uk
e : R.Livsey at cache-22.co.uk
  / Richard at incutio.com

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.380 / Virus Database: 213 - Release Date: 24/07/2002





More information about the thelist mailing list