Linux Today: Linux News On Internet Time.

O'Reilly Network: PHP With HTML Forms

Dec 03, 2000, 20:46 (0 Talkback[s])
(Other stories by Urb LeJeune)

"In the last exciting episode of the PHP Phanatics, we explored the inner workings of PHP's unique $GLOBALS array. Several sharp-eyed readers pointed out a bug in the script dumping the contents of the $GLOBALS array. If an array element was itself an array, the display listed that fact rather than the contents of the component array. The displayed line looked like:


"In my defense I plead confusion. There were elements on both sides of the array. In addition, the vertical alignment was less than perfect. It was very difficult determining which array component a pointer was addressing."

"A generalized array-dumping function is discussed at the end of this article. The developed function displays any one- or two-dimensional array."

"In this episode we'll continue our exploration of PHP forms, becoming more aggressive and bolder as we go."

Complete Story

Related Stories: