Search found 2 matches

by csam0003
Tue Mar 01, 2011 3:49 pm
Forum: General Discussion
Topic: Php, javascript and Css
Replies: 1
Views: 726

Php, javascript and Css

Hi all, Your thoughts on the scenario I have at the moment would be greatly appreciated. Currently I have a php file which depending on some condition sets a variable in the response header to true or false. I then have an xsl template that contains some javascript which checks whether the variable ...
by csam0003
Tue Jan 18, 2011 6:23 am
Forum: PHP - Code
Topic: PHP objects
Replies: 2
Views: 408

PHP objects

Hi all,

I have this object

Code: Select all

$my_data -> monthly_performance[$year]["M$m"][] = $x
I now wish to access this object directly.

Why cant I do something like this?

Code: Select all

if ($my_data -> monthly_performance[2009]["M1"][] != "")
{
do something
} 
thanks