Professional Documents
Culture Documents
PHP Artisan Migrate:fresh - Seed de Migrate Code Add Product - Edit Product - Delete Product
PHP Artisan Migrate:fresh - Seed de Migrate Code Add Product - Edit Product - Delete Product
Nhung cai url trong code la router. Session luu tren server, moi mot session se co 1 thiet bi rieng (mot
may), bai cua minh dung session de luu gio hang
Function all cat o http no luu vao bien category, item luu o bien item
Item size, image tro den muc cung ten o database (phpadmin)
Khi tro chuot vao “chi tiet” se nhin thay user item #thutu (do la bien) trong co so du lieu no se tim thay
bien db::table(‘item’) => where (‘items.id, $id)
Bon em k dung upload anh truc tiep vi no se can dinh dang thanh chuoi trc khi upload len. Sau nay se
cham hon de post gi do len. Anh dc up se luu vao co so du lieu.