Calling strings from other php class


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

I have test1.php{
$string1;
$string2;
....
Did you know?Explore Trending and Topic pages for more stories like this.
... //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

Modal Popup Help
Hi guys, I have a modal popup with an iframe. How can i send data from a label or textbox to the ifr

Displaying image from database
Hi,

I've got a site where that's got a database behind it. Currently it has loads of items in

CURL question
i am wondering if it's possible to use multi curl with login something like

login once to web

Return X values where an ID number doesnt matter
Well as for subject heading, thats the best i could think of.

Currently im having a problem w

ob_ dynamic content
i was wondering about the potential to use ob to create a <div then remove it when the page

What are causes of a connection-timeout with fopen()?
Hello! Here is the situation: The server I host my website on just upgraded it's PHP build from 4.4.

PHP & Java
Hello,

can PHP code be used inside java code?

Code: <SCRIPT LANGUAGE="Java

Oracle Connectivity
Hi Every One,

Can we access SAP from oracle database.If it possible then please spec

Why do I get this error
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/a5488351/public_html/b

contact form - output to page and email
I have the following in my controller:

$message['name'] = htmlentities(strip_tags(trim($_POST

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