We'd never say 'You had like'. It doesn't exist as a phrase, and it makes no sense at grammatically.
The correct form is 'You'd like' as in
'I think that you'd like this book'.
The 'd' is a contraction of 'would'. It's a conditional form, and we use it for offers and invitations.
'Would you like to come for dinner?'