Hey all,
I am a newbie to the php world, I mostly deal with cold fusion all day long at work and I need some help getting started. Here is my problem I can't seem to pass a variable when I include another php file. Here's an example of what I'm talking about.
Page1.php:
<?
$hello == "hi"
?>
Page2.php:
<body>
<?
include ("page1.php");
print ("$hello");
?>
Please help because I do this all day long with cold fusion and can't seem to figure it out for php