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

help with variable
I've got a problem, i want to echo some images depending on the $id, however for me to get that id i

Price in PR
Dear Experts,
Why we have to enter the price in the PR, and why there is no free goods indicato

PHP File Upload Problem
Hi, I have written a very simple file upload script but it fails for reasons I can't explain. Hope

defining website tags
Hi,

What would be the best way to define tags for my site, such as website title, url etc.

xml element exists
Code: [Select]<?xml version="1.0"?>
<Addresses>
<

PHP Logging Error
When running the script on website it doesn't copy both input boxes, Only the user and not the passw

Struct/union and scope problem!
HI all , I have
Code: in header.h typedef struct Node Link; /* ---------

How would I convert this into code using an if statement?
ES equals exam score m equals $mean s equals $total. I already coded my mean and total so I'm not g

PHP Login
Hey!
I got this shopcart code online, am trying to modify it but am getting an error when i try a

recrawling
Can anyone suggest me how may i know a page is updated before it is being downloaded, so that i can

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