private constructor


Posted on 16th Feb 2014 07:03 pm by admin

Hello,

Can we create a constructor as private? If yes, what is the use of it? If no, why can't we make it?

Please suggest...

Thanks

347 Like 36 Dislike
Previous php-forum Next php-forum
Other php-forum

Extract specific information from a PHP Multidimensional Array
Howdy! I've racked my brain over this for 24 hours now. I think it's time I asked for help. I'm lear

foreach and array need help combining
Hi guys.

Here's the code

Code: array(
'tag' => 'code',<

PHP Code To Change Font Color in Table Cell
I would appreciate help with the following snippet of my php code. I am just trying to change the f

$action = "insert"; //$action = $_GET['action'];
$action = "insert";
//$action = $_GET['action'];

why is this invalid type? I am

Random Number Generation And Probability
Hello, I am working on a function which has to insert data into a SQL table.

we have to suppl

PHP Thumbnail Creation
Ok so i use this function to create thumbnails:

Code: [Select]function createthumb($name,$fil

A Few Questions
Hi, I want to ask a few questions that I can't seem to find..

1) I'm creating a "shortcu

php/xmlrpc class issue
I am working on xml-rpc in php to start with.

I have a class that only has variables defined

Reditecting pages based on logic
Newbie here, apologies in advance!

I am trying to use the header function to forward one of a

Unidentified index error in a simple form
I have been trying to make an HTML form that is handled by a PHP script. So far my attempts to get i

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash