How do output data from another PHP file?
Posted: Wed Jul 21, 2010 3:19 am
Hallo!
How do output data from another PHP file "1.php" (file is with XML construction).
"1.php" code:
<meteodata time="2010-07-21">
<data id="temp">23.35</data>
<data id="humid">72.14</data>
</meteodata>
On file "2.php" should be a lines what print the data of "temp" and "humid"
echo "<a href=\"http://.../1.php" </a>";
How do output data from another PHP file "1.php" (file is with XML construction).
"1.php" code:
<meteodata time="2010-07-21">
<data id="temp">23.35</data>
<data id="humid">72.14</data>
</meteodata>
On file "2.php" should be a lines what print the data of "temp" and "humid"
echo "<a href=\"http://.../1.php" </a>";