jck Posted July 17, 2007 Share Posted July 17, 2007 SELECT ItemID from dd_items WHERE ItemCategory = '$a1[itemCategory]' AND ItemID < '$ItemID' AND ItemStatus = 'approved' LIMIT 1 this is always taking me to the last item of a category.... i dont understand how Quote Link to comment Share on other sites More sharing options...
jck Posted July 17, 2007 Author Share Posted July 17, 2007 oops i got it Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.