techker Posted July 8, 2018 Share Posted July 8, 2018 (edited) Hey guys im updating a table with values and using Concat to add the values. $sql = "UPDATE NouvellesEchanges SET CouponsID = CONCAT(CouponsID,'".",".$Coupon."') WHERE EID = '$EID'"; now how to i get the information from the CouponID and separate them? the table holds the the user info and couponID's 125,123,1234,333,33333 i want to show the coupons and remove the (,) so i can have only 125 123..... thx im looking at split(";*",$string); or explode Edited July 8, 2018 by techker Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.