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

why this query can delete duplicates ?
why this query can delete duplicates ? Anybody can give me the detailed explanation ?

Tha

Delete all files in folder except with certain name
I have a script that I want to delete all files in a folder (taken from a database) except for one n

database design
Hi,

I got a page which allow candidate to type in their previous working experience,
I let

If a form submits back to same page do you need to use $get
IM trying to pass page number and year that was selected back to the same page.

i have this c

Why is the logic of this simple code not working?
Hey, I'm trying to determine if a table already exists in mysql, but doing a query first with mysql_

Save username into DB
OkaY so I got my blog to actually save the posts and whatever, all I need now is for it to keep the

get url?
how do i get the url of the page i'm currently on, on my website.. i think its get header.. how do i

Server side $_SESSION
how does one keep the session completely server side. no cookies to the browser at all. i need this

a function to check directory depth
I'm working on a php script to upload files in to a set directory.
the user can select to upload

Tournament Brackets (Double Elimination)?
Is making a double elimination tournament style bracket system capable of being done in php?

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