$query='insert into shopping_tbl (itemcode,name)values ("'$num."/".$barcode.","."$name"'")';
the itemcode wont be inserted because of the "/". however if i use "-" instead of "/" it will be inserted however i need to use "/"
sample data: itemcode: 23/xxdd22, name: watchx