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

Confusing Functions
So, I've been reading up on Functions and I like them! However, I need some help using variables in

Renaming a file that a user uploads to site?
My site allows for registered users to upload images to the site under their own gallery. Currently

Allowing ' and "
Hello everyone,

I am creating a form where users submit information to go into a database. I

PHP - HTML
Could anyone give me some GOOD sample links for php - html email tutorial.

Thanks!

a dificult string search
Hi I don't know a way around this. I want the user to input a password, but to make it a bit complca

Problems with strings containing
Hey all,

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

Need help: how to catch acess of undefined class properties
Hello. I am learning OO with PHP and have hit a problem.
Some code runs as perfectly valid code,

Simple code help with redirects
I am trying to figure out a redirect script that detects if the browser is IE 7 and if it does, redi

please fix the error
What is the error in the below code ???
Line number On/Off | Expand/Contract <?php

Change Age automatically
hi guys . im new to php , is it possible to change age value in mysql automatically when year change

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