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

Tree Menu
Hi guys,

Can anyone help me making a tree navigation system? I have a site where I'm allowin

UDP Multicast question
Hey,

Im not really in the know when it comes to network related programming and activitie

passing an array of objects after submit
How do I do this? This is what I have tried and it is not working.

<form method="

mysql query with single quotes in a variable
$sitedetails = "INSERT INTO vars (address, sitename, description, ownername, theme) VALUES ('$u

php unable to sent email
Hi, guys, I try to send a email through php but unfortunately the mail unable to sent. Here is my co

Taylor Series Function
So I am working a a project for my intro C++ class, and I am having some trouble with a function for

array_combine() error
getting an "Warning: array_combine() [function.array-combine]: Both parameters should have an e

Get last modified date of web page
Hai All,

In php how can i get last modified date of a give web page . I have tried to g

Echo Tweaking help!
HI. I would like to have the output of the entered variables repeat forever, but it's stopping at th

Problems with strings containing
Hey all,

I have encountered something strange in a script. I am trying to write an XML heade

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