Using same variable in Different php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jaydeep
Forum Newbie
Posts: 1
Joined: Mon May 12, 2008 2:37 am

Using same variable in Different php

Post by jaydeep »

Hello everyone,
plz guide me in creating a variable which can be also accessed in different php file.


thanks n regards
Jaydeep
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Re: Using same variable in Different php

Post by aceconcepts »

Kinda sounds like you're talking about sessions http://uk.php.net/session

Code: Select all

 
$_SESSION['firstName']="Bob";
 
Post Reply