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

Filtering for a phrase using pregmatch
Here is my code which looks for addresses which start with ' src=" '

Code: [Select]preg_

issues verifying if user is logged in
I am having issues when a user logs in via asp Login control, the IsAuthenticated still seems to com

Remove Rows From Database ad
Hi All,

I have this:

Code: [Select]<?php
session_start();
include('../com

show the direct link into href
I want to display link on the page. i am fetching the data(URL) from database,actually before that i

Automatic Webpage ??
I have a page www.mysite.com/test.php with a
<form>
<textarea name=&q

Ball movement
I want to move a ball from one point to another and it should hit a group of balls at the other end

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

Php WordPress help
I am writing the following code for making a plugin

<?php
header("Content-Type

php form help
Hey,

I use a control file to set my meta tags and titles

Here's an example
Code: &a

IP Logger for Voting Script
Can anybody help me place an IP logger into my voting script?
I know that maybe it is not as secu

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