Page 1 of 1

A Question on PHP $TEXT

PostPosted: 28. March 2009 23:03
by AndrewKKWalker
Probably not the place to ask this, and so I don't have to dig out manuals.
As an experienced programmer, but PHP Newbie, I was having a play with the CDS.php file,
to see what makes it tick.

Have doctored version done now that reads and writes to my mysql database and generates PDF's etc

However head failing to comprehend the line

<?=$TEXT['cds-text1']?><p>

and later on

<tr><td><?=$TEXT['cds-attrib1']?>:</td><td><input type=text size=30 name=interpret></td></tr>

I understand the html aspect and can see what it does.

BUT... Where does it retrieve the value defined by ['cds-text1'] and ['cds-attrib1'] from?
The latter defines the labels that appear with the Forms input boxes

It obviously retrieves these values from somewhere, but are they on the page?
If I can get to these I am sorted.

Thanks in advance

Andrew

Re: A Question on PHP $TEXT

PostPosted: 28. March 2009 23:21
by Izzy
Where does it retrieve the value defined by ['cds-text1'] and ['cds-attrib1'] from?
XAMPP is multilingual.

<? include("langsettings.php"); ?>

Re: A Question on PHP $TEXT

PostPosted: 29. March 2009 00:47
by AndrewKKWalker
C'est bon!

Je comprend maintenant. Merci bien

Andrew

Re: A Question on PHP $TEXT

PostPosted: 29. March 2009 00:54
by Izzy
AndrewKKWalker wrote:C'est bon!
Je comprend maintenant. Merci bien
Please note, XAMPP is multilingual not this forum.
This forum is Apache Friends in English - XAMPP for Windows. ;)