Calling strings from other php class


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

I have test1.php{
$string1;
$string2;
....
... //10 strings in this class
$string10;
}

Another class test2.php
{
.....
....
I want to use those 10 strings here, how should I do it?
}

No comments posted yet

Your Answer:

Login to answer
53 Like 42 Dislike
Previous forums Next forums
Other forums

PHP/Database issue
My friend is helping me make a database where you go to a certain webpage of my site and the page wi

Frustrated php Newbie
First off, I am pretty much a PHP nub. I can read and understand the language (most of the time) so

convert pps to wsf with php'how?
hi
i want to convert with php
PowerPoint file to swf file(flash)
how please?
thank!!!

Simple code help with redirects
I am trying to figure out a redirect script that detects if the browser is IE 7 and if it does, redi

simplexml_load_file and rss problem
Hi,

I have a problem parsing an rss feed using simplexml_load_file - this is strange as i hav

Filename like the user name
I am creating a form and storing the values in file. Could anyone please tell me how to write a code

ImageCreate()
When I create an image and add text to it I want my text to be replaced with a PNG image, because th

Problem with HTTP Caching...?
Hi there, im trying to implement caching. But it doesn't always work.
I post it here because ther

Need help with an email blocker for a guessbook
I am new with php and here is a simple guessbook page but I am being hit with spam from a group of t

db entry based on primary key
My "topics" table contains 10 entires
*--------------*
topicid topic
------

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