TheSky Posted June 26, 2011 Share Posted June 26, 2011 I have question if i include list from database and array it then it's staying on array or still pulling from mysql? Quote Link to comment https://forums.phpfreaks.com/topic/240426-question-about-php-mysql/ Share on other sites More sharing options...
revraz Posted June 26, 2011 Share Posted June 26, 2011 Huh? You have to pull it from the DB to populate the Array. After that, you reference the Array. Quote Link to comment https://forums.phpfreaks.com/topic/240426-question-about-php-mysql/#findComment-1234922 Share on other sites More sharing options...
TheSky Posted June 26, 2011 Author Share Posted June 26, 2011 so after i have pulled data to array i dont need any more mysql connection? Quote Link to comment https://forums.phpfreaks.com/topic/240426-question-about-php-mysql/#findComment-1234930 Share on other sites More sharing options...
wildteen88 Posted June 26, 2011 Share Posted June 26, 2011 Can you post a better explanation to your problem. Your posts are not making much sense to me. Could you also post your code too (wrap it within or tags) Quote Link to comment https://forums.phpfreaks.com/topic/240426-question-about-php-mysql/#findComment-1234931 Share on other sites More sharing options...
revraz Posted June 26, 2011 Share Posted June 26, 2011 If you only need to work with that data that you pulled, then yes, you can close the connection to the DB. Quote Link to comment https://forums.phpfreaks.com/topic/240426-question-about-php-mysql/#findComment-1234935 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.