Jump to content

PHP Questions!!!


joshi_v

Recommended Posts

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
Share on other sites

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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.