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

Not loading image
When this function gets loaded it doesn't load the image just trying to figure out why.

Code:

login from external site
Hi my new experience begins, Now what i am trying to do is i make three pages, login.php logout.php

Using loop to count number of entries
I'm writing a program that must ask user to type in numbers. After each entry, the program has to re

I need help on this PHP code
Hi everybody, I made some kind of mistake while editing the code below. As you see, at the 3 row my

Undefined offset
The following script checks to see if the user answer matches the correct answer.

Form Fiel

NOOB needs help with upload file
The intent of this form is to create a folder for a client and upload an image into another folder '

I need some help with the IF command...
I have a large number of images in one section of my website with the .jpg format. I'm adding a bun

Php Mysql Page Loading Notice
Hi all,

I was wondering if there is a way (Sure there is) of showing a message or an image wh

listing help
Hi,

at first, great new design!!! I like it,

i got a problem,

I want to list so

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