shmideo Posted November 13, 2014 Author Share Posted November 13, 2014 Perfect tryingtolearn, thank you! Can't believe I didn't spot the $dbc Quote Link to comment Share on other sites More sharing options...
ginerjm Posted November 13, 2014 Share Posted November 13, 2014 You need to apply some common sense to how you write your code. For example - you begin by moving all of your POST inputs into local vars without looking at them at all. Then you start looking at the POST vars once again to see if you want them. What was the point of grabbing the local vars? Waste of memory resources and computing resources and a contributor to code bloat. Quote Link to comment Share on other sites More sharing options...
shmideo Posted November 18, 2014 Author Share Posted November 18, 2014 Yes I approached it the wrong way but I have learnt a lot here on PHP freaks. Great forum, thanks. Quote Link to comment 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.