You are here: Re: How can I track the value in php « PHP « IT news, forums, messages
Re: How can I track the value in php

Posted by James Benson on 11/05/05 14:30

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.
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация