.josh Posted February 2, 2009 Share Posted February 2, 2009 I think your problem somehow stems from this: $specialid = $id.";".$sizenum; Or another piece of code similar. You're using "& #59 ;" entity instead of an actual semicolon. It's causing it to explode correctly but nonetheless show the semicolon. change it to a literal semicolon instead of entity value. You probably should have seen it in the view source if you had looked.... Quote Link to comment https://forums.phpfreaks.com/topic/143492-solved-slight-explode-issue/page/2/#findComment-752771 Share on other sites More sharing options...
aebstract Posted February 2, 2009 Author Share Posted February 2, 2009 You told me to change it from what it is to what it is? O.o I think the problem originates from this line; $specialid = $id.";".$sizenum; Try changing it to this for now... $specialid = $id.";".$sizenum; This solved it, I wonder why it mattered that I was using the html version of ;. I mean, it recognized it to explode it and all, weird stuff.. Thanks everyone for their time and input Quote Link to comment https://forums.phpfreaks.com/topic/143492-solved-slight-explode-issue/page/2/#findComment-752773 Share on other sites More sharing options...
gevans Posted February 2, 2009 Share Posted February 2, 2009 Basically your string was storing - 11;4.2 Everytime you print it to screen it shows - 11;4.2 When you explode by ';' you're left with - 11; and 4.2 And the browser being 'clever' again show you - 11; Quote Link to comment https://forums.phpfreaks.com/topic/143492-solved-slight-explode-issue/page/2/#findComment-752776 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.