Re: [PHP] php forgetting variables very easily

2003-03-04 Thread Ernest E Vogelsinger
At 19:37 04.03.2003, Ian A. Gray spoke out and said: [snip] >Hi everyone.I am probably doing something obviously >wrong but I can't seem to sort it! It's regarding >variables.In one script, lets call it main.php I make >a variable- say $colour. It inludes a

Re: [PHP] php forgetting variables very easily

2003-03-04 Thread Rasmus Lerdorf
> Ok, this works fine for me. However it doesn't seem > to work when main.php and new.php have html in them. You are doing something wrong then. Show us a simple example that doesn't work. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u

[PHP] php forgetting variables very easily

2003-03-04 Thread Ian A. Gray
Hi everyone.I am probably doing something obviously wrong but I can't seem to sort it! It's regarding variables.In one script, lets call it main.php I make a variable- say $colour. It inludes a file which prints the variable: main.php new.php Ok, this works fine for me. However it doesn't s