>How can I query a MySQL table to get the latest results from a date field?
>Basically, I am inserting several records at a time at the end of each
week.
>I want to have a page that displays the results for the last week only.
>The date format in the field is -MM-DD
if you want the latest
"Tom Ray [List]"
<[E
You can use addslashes and stripslashes when inserting and selecting
respectively. addslashes will turn your name into O\'connel. and
stripslashes will bring it back to the displayable format.
check out
php.net/addslashes
php.net/stripslashes
hth
Jeff
if you want actual errors that PHP generates and not logic based errors,
then writing your own error handling function and calling it with
set_error_handler() at the top of your scripts may work for you. in your
function you'd just need to use $errorstr, $errorfile and $errline and log
it using
what was the error?
"dwalker"
,
5 matches
Mail list logo