[thelist] including $variables in php
Pete Dronzek
pdronzek at uswest.net
Wed Sep 27 18:01:32 CDT 2000
At 08:06 PM 9/21/2000 +1000, you wrote:
>As I stated earlier I have a site in perl/cgi that Im trying to change over
>to mysql/php. So that I dont have to hard code colours of tables and other
>things I used $variables to define them once and then used said variables.
>Can I do the same in php? I tried using the "include('variable.php3')" but
>nothing happens. In view source I can see the include statement (but not
>the variables that it was supposed to include).
If you can see the include statement when you view the source in your
browser, then the PHP isn't being interpreted. Are you sure you tagged it?
Pete
More information about the thelist
mailing list