Hi Stretchwickster
Thanks for your hint.
I modified
$vormTemp = htmlentities($xml->weatherdata->day->data[@temp]);
into
$vormTemp = htmlentities($xml->weatherdata->day->data[@temp],HTML_ENTITIES,'UTF-8');
and it works fine now.
Thanks again
Hans Ulrich
Hi
I load an xml file with simplexml_load_file into the variable $xml. The element 'data' of the xml-file contains an attribute 'temp' with a temperature in degrees Celcius:
<data temp="18°C" fineweather="70%" frostborder="3800"/>
To transform it to xhtml I use:
$vormTemp =...
To build a page dynamically I use a string like the following:
<?php
$header_0_en = <<<EOD
<div id="langcontainer">
<?php echo setLanguage($_SERVER['PHP_SELF']); ?>
</div>
EOD;
?>
This produces the error: unexpected T_ENCAPSED_AND_WHITESPACE
So far I didn't find a...
Thanks jlitondo for your tip. I don't use the mshflexgrid for data entry. The program performs some action based on data in the row selected by the user in the parent recordset.
I have a mshflexgrid which is bound to a hierarchical recordset. I want the enable the user to select rows of the parent recordset but not the rows of the child recordset. Can anybody show me a way to prevent the selection of the rows bound to the child recordset?
Thanks for your assistance.
You can add a boomark in the SelChange event as follows. You must also prevent the user to select multiple records. dgr = your DataGrid. rst = your recordset.
Private Sub dgr_SelChange(Cancel As Integer)
dgr.SelBookmarks.Add dgr.Bookmark
If dgr.SelBookmarks.Count > 1 Then...
I am returning to this thread because the following is in the same context:
As mentionend above the mshflexgrid is bound to a hierarchical recordset. I want the user to be able to select rows of the parent recordset but not the rows of the child recordset. Does anybody know a way to prevent the...
I'm stuck with the following problem:
When the user selects a row in a hierarchical flexgrid (flgReport) I retrieve a value from the selected row which is stored in Col 1.
I did it that way in the click event:
Private Sub flgReport_Click()
Dim strNum$
flgReport.Col = 1
strNum = flgReport.Text...
Forgot to mention:
When the user does not leave the current cell after editing the data before he clicks the cmdSet_Click button the editing progress is still pending and you can't close the rs.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.