Jul 25, 2008

Session2

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > PHP Programming

free web hosting

Session2

dogtag
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

Reply

matak
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.

Reply

dogtag
i means session of my classroom my friend, not a PHP SESSION smile.gif

Reply

vipervoid
Maybe next time you should post specific topics so that no one would complain. wink.gif

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : session2


    Looking for session2

Searching Video's for session2
advertisement



Session2



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE