coder9 Posted July 23, 2008 Share Posted July 23, 2008 i called this codes twice. $query = "SELECT * FROM jtablegrid WHERE game_no = 1"; I wonder if there is a bad effect doing so. If there is, please share it and please tell me. Or do i need to close the other query first before recalling it again? Thank you. Link to comment https://forums.phpfreaks.com/topic/116156-what-is-the-effect-of-two-select/ Share on other sites More sharing options...
JonnyThunder Posted July 23, 2008 Share Posted July 23, 2008 If you run the same query, using the same database connection - then it'll just run the query twice. There's nothing bad gonna happen though! (the results from the first will be overwritten by the second) Link to comment https://forums.phpfreaks.com/topic/116156-what-is-the-effect-of-two-select/#findComment-597326 Share on other sites More sharing options...
coder9 Posted July 23, 2008 Author Share Posted July 23, 2008 ok thank you. Link to comment https://forums.phpfreaks.com/topic/116156-what-is-the-effect-of-two-select/#findComment-597333 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.