Re: How can I track the value in php

From: Date: Sat, 05 Nov 2005 12:30:25 +0000
Subject: Re: How can I track the value in php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-225153@lists.php.net to get a copy of this message
Try reading the PHP manual, people put in lots of effort for newcomers to learn the PHP language. http://php.net/array To access a single array value:- $myArray = array('email' => 'someone@example.com'); echo $myArray['email']; Above would display:- someone@example.com James shining wrote:
Hi, I am php beginner, I have a question: in my index page, I firstly inlcude_once a A.php file, where i defined an array, secondly I include another .php file named B.php, where I want to use the array, I have claimed it as global type, but it seems I can't retrieve any value from the array. So I want to ask: 1. Is my use way right? 2. if I want to track a variable value how it changed between php functions, besides I print out it's value, Is there any other way to do it? Any suggestion and solution welcomed! Thanks in advance.


« previous php.general (#225153) next »