I'm about to try some code you wrote in a previous message and had a question.
If it is less than 7 days old display the image; what would the code be for if it isn't, (else) print this....
$days = 7; # number of days to look for
$new = time() - ($days * 86400);
if ( &date_to_unix($rec{'Date'}) >= $new) {
print qq|<img src="http://URL/to/new.gif">|;
}
-----
Is this possible:
If someone searches a field with the word 'online', the results will be displayed sorted by my field (6) ascendedly. Hopefully over-riding and other sort on the web page that the user may have selected. Before you helped me with a slightly different problem that works, would this be acomplished the same way.
You have been very helpfull, thank you.
Shane
[This message has been edited by shane1800 (edited June 27, 1999).]
If it is less than 7 days old display the image; what would the code be for if it isn't, (else) print this....
$days = 7; # number of days to look for
$new = time() - ($days * 86400);
if ( &date_to_unix($rec{'Date'}) >= $new) {
print qq|<img src="http://URL/to/new.gif">|;
}
-----
Is this possible:
If someone searches a field with the word 'online', the results will be displayed sorted by my field (6) ascendedly. Hopefully over-riding and other sort on the web page that the user may have selected. Before you helped me with a slightly different problem that works, would this be acomplished the same way.
You have been very helpfull, thank you.
Shane
[This message has been edited by shane1800 (edited June 27, 1999).]