joshi_v Posted December 13, 2006 Share Posted December 13, 2006 Hi to all!Any one of you could answer my questinos please!1. How it will work if i wrote $$test=0; or what '$$' means in PHP?2. What is 'encapsulation'? I know it is in OOP concepts. Is there any special meaning for it in PHP?3. Suggest me how to do an admin module for a site. How to seperate it from user normal files.Thanks in advance!Joshi. Link to comment https://forums.phpfreaks.com/topic/30455-php-questions/ Share on other sites More sharing options...
trq Posted December 13, 2006 Share Posted December 13, 2006 Hmm.... smells like hoemwork to me. Forget to study? Link to comment https://forums.phpfreaks.com/topic/30455-php-questions/#findComment-140248 Share on other sites More sharing options...
simcoweb Posted December 13, 2006 Share Posted December 13, 2006 LOL at thorpe :)1. $$test = "0"; means you've assigned the variable $test as another variable. Example:[code]<?php$test = "bob";?>[/code]is the same as[code]<?php$holder = "user";$$holder = "bob";?>[/code]2. to 'encapsulate' means to enclose a string in quotes, whether single or double, and/or brackets, etc.3. check the tutorials section Link to comment https://forums.phpfreaks.com/topic/30455-php-questions/#findComment-140252 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.