Problem solved!
It's not related to a function of Mapserver/Mapscript.
Query result are outputted in HTML, this is why carriage return doesn't
work.
Just use the HTML tag br as separator and strings appear in multple lines.
e.g.:
if input data is:
StringA br StringB br StringC
output would be:
Problem 2 is solved (not the same with problem 1)
It's related to encoding. (Have to be in UTF? Something like this)
I replaced ? with the 2 chars used in languageIT.php for this letter.
Now it's ok.
- Original Message -
From: toni
To: pmapper mailing list
Sent: Friday, May 05, 2006
Your script sounds very useful, I hope that Armin will consider it to
integrate into pmapper
Unfortunately I'm not much able to advise you on your question but let
us know about your progress.
bye
luca
On 5/10/06, Gail Long codeburg at hotmail.com wrote:
Hello all,
I've written a query
you need to clear the session var $_SESSION[resultlayers] and then
create it for your data in the required structure. You can also pass
that via the URL. 'resulttileindexes' are only needed for tileindex
shapefiles (that I never use), otherwise this value can be -1 or 0 or
so. Check the code
Armin,
Thank you for the quick response. Please forgive me but I don't entirely
understand what to do.
I've cleared the resultlayers session variable and added the new values in
what I believe is the correct structure:
array(1) { [adapar]= array(31) { [991740]= int(-1) [991511]= int(-1)
After a little bit more consideration:
Maybe the easier question is where would I insert custom queries into the
existing structure if I wanted to call them?
--
Things are only difficult while you don't understand them.
From: Gail Long codeburg at hotmail.com
To: armin.burger at gmx.net
Getting much closer I think!
I have the javascript function that refreshes the map.
I've set my $_SESSION['resultlayers'] appropriately to real values (I've
tried both -1 and 0 for the type)
The map refresh calls map.phtml but now as it loads I get a failure at this
line: