I have to do something with db_ro_details.php?
We tried make a db_o_details.php with the information from reply 2 and 3 but no succes.
Sorry for al the questions.
I hope i can make this work
Moderator: daj
Did you do as this says i.e. "localhost", "your MySQL Database USERNAME", "your MySQL Database PASWORD" and finally "your MySQL Database NAME"?water01 wrote:Whatever is required to access your MySQL database on your server.
In my case
Good idea to make this file read/write by User only using CHMOD or Filezilla to change permissions.Code: Select all
<?php // The server host name or number running your MySQL database // usually 127.0.0.1 or localhost will suffice $dbhost = "localhost"; // // The username used to log-in to your database server $dbuser ="UserName"; // // The password used to log-in to your database server $dbpassword ="Password"; // // The name of the MySQL database we will store the tables in $database ="dmjsyste_cumulus"; ?>
Code: Select all
array(603,'HighSolarRad','Maximum Solar Radiation W/m²<br>(Bright Days)',true,0,'cSolarH'), // table fixed!
array(603,'CAST(HighSolarRad AS UNSIGNED)','Maximum Solar Radiation W/m²',true,0,'cSolarH'), // need to fix dayfile table, using varchar!Great.JennyLeez wrote:Many thanks, that fixed it.
Looking at the code there is an error, and each partial row should have empty boxes to the end!JennyLeez wrote: One more question please although only eye candy really.
Row 4 and 8 are creating an empty last box as I am using borders.
Row 6 and 9 are fine.
Is there an easy fix to remove the empty box otherwise no worries.
I realise I can remove the borders but I would prefer not to if possible.
http://wairoa.net/weather/top10s.htm
Code: Select all
for ($x = $currCell; $x < $cells; $x++) {
// add any empty cells to pad the row
echo '<td> </td>';
}
Code: Select all
for ($x = $currCell; $x <= $cells; $x++) {
// add any empty cells to pad the row
echo '<td> </td>';
}
I'm glad you like it, the original idea wasn't mine of course!JennyLeez wrote: Thanks you for this script. It is one of my favourite pages![]()
Hmm, looks more like duff data? The script simply takes (today's high press) - (today's low pressure).beteljuice wrote: Looking at Jennys page > smallest daily pressure change.
The lowest figure is negative (-3.5), which is shown as a lesser change than zero (0), shouldn't the figure have been made absolute before sorting ?, and are similar (change) figures been handled the same ?
Looks like Jenny fixed something - no negative or zero values nowMark wrote:Hmm, looks more like duff data? The script simply takes (today's high press) - (today's low pressure).
So on 2012-11-03 the lowest pressure reading must greater than the highest.
I'd also be a bit suspicious of all those zero values. Normally you get some variation in a day, even if it is only random fluctuation in the sensor of at least 0.1hPa
Code: Select all
for ($x = $currCell; $x <= $cells; $x++) {
// add any empty cells to pad the row
echo '<td> </td>';
}