Hi all,
I have a little problem to solve… I use the following script to get the latest values from the ‘history’ table of my database.
My func works fine but i don’t know how to Substr the value of the ‘date’ values :oops:? Thanks in advance…
[code]$query = $DbLink->query(“SELECT * FROM history ORDER BY date DESC”);
$i = 0;
while ($historyx = mysql_fetch_array($query)) {
if ($i == 21) {
break;
}
for ($i=0; $i< 2; $i++) {
$output_value .= ‘
$i++;
}
}[/code]
Frimax