INSERT INTO basket (`id`, `date`) VALUES ('', now())

SELECT * FROM basket WHERE id=''

SELECT * FROM items WHERE id='5507'