A Question on PHP $TEXT

Problems with the Windows version of XAMPP, questions, comments, and anything related.

A Question on PHP $TEXT

Postby AndrewKKWalker » 28. March 2009 23:03

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
Andrew
AndrewKKWalker
 
Posts: 33
Joined: 27. March 2009 01:46
Location: Cambridge England

Re: A Question on PHP $TEXT

Postby Izzy » 28. March 2009 23:21

Where does it retrieve the value defined by ['cds-text1'] and ['cds-attrib1'] from?
XAMPP is multilingual.

<? include("langsettings.php"); ?>
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Re: A Question on PHP $TEXT

Postby AndrewKKWalker » 29. March 2009 00:47

C'est bon!

Je comprend maintenant. Merci bien

Andrew
Andrew
AndrewKKWalker
 
Posts: 33
Joined: 27. March 2009 01:46
Location: Cambridge England

Re: A Question on PHP $TEXT

Postby Izzy » 29. March 2009 00:54

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. ;)
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 212 guests