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

Remove directories not empty
hi,
i have an array that contains some names (1,4,6,56...). Every integer is a name of a folder.<

User feedback after MySQL query has been executed
Hi all, I've just registered on PHPFreaks because I've got a question that I simply can't work out b

Multi image upload
I have a gallery to build and want to build a dynamic upload form to allow for $var number of fields

Extracting Long text from message class with parameters
Hi,

I would like to extract the long text from a message class. However, the long text ha

Dynamic links in an include file
I am working on a small piece of code that counts records from a database and displays the result to

PHP switch function help
Hi, I am trying to create a search function for a directory website. On the search function on html

Read from forum
Haven't written anything forever and I would like to get back.
What I'm trying to do is getting t

PHP Blog help
Need help with posting comments in a word press blog? I have a comments page where the comments are

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

MySql timezone
Code: $sql = "SELECT *, date_format(date, '%m/%d/%Y at %I:%i %p' )as date FROM comments WHERE t

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