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? 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. 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? 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) 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. Link to comment https://forums.phpfreaks.com/topic/240426-question-about-php-mysql/#findComment-1234935 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.