It should be <= as the previous posters suggested.
[php] mysql_query (“DELETE FROM testDB WHERE expirationdate <= '” . date(‘Y-M-d’) . “’”); [/php]
[php]This statement need to be include in the delete function??[/php]
That really depends on what you want to happen and how your code is structure. If you want to add it to the delete function you created sure, then you need to determine when you need to call that function to make it execute.