Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Session2
dogtag
post Jun 7 2007, 06:46 PM
Post #1


Newbie [Level 1]
*

Group: Members
Posts: 23
Joined: 7-June 07
Member No.: 44,336



in php we can save our strings in a place, i means:

CODE
<?php
$a = "hello world";
?>


it means that we have a place to save hello world and use it in other places. now we can have:

CODE
<?php
print $a;
?>


it will show us hello world

ask me if you have any questions
Go to the top of the page
 
+Quote Post
matak
post Jun 8 2007, 08:28 AM
Post #2


Super Member
*********

Group: Members
Posts: 413
Joined: 4-October 06
From: Psychedelic Realms
Member No.: 31,079



This are not sessions. Sessions are something completely different. If you want to make this variable available with sessions, you need to use session_start() construct.

If you want to make this variable you posted available to other PHP files you need to include them.
Go to the top of the page
 
+Quote Post
dogtag
post Jun 8 2007, 10:56 AM
Post #3


Newbie [Level 1]
*

Group: Members
Posts: 23
Joined: 7-June 07
Member No.: 44,336



i means session of my classroom my friend, not a PHP SESSION smile.gif
Go to the top of the page
 
+Quote Post
vipervoid
post Sep 25 2007, 01:11 PM
Post #4


Newbie [Level 1]
*

Group: Members
Posts: 15
Joined: 3-September 07
Member No.: 49,306



Maybe next time you should post specific topics so that no one would complain. wink.gif
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics


 



- Lo-Fi Version Time is now: 6th September 2008 - 07:53 PM