closing mysql_connection

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Locked
CincoPistolero
Forum Newbie
Posts: 6
Joined: Thu Jun 23, 2005 4:30 pm

closing mysql_connection

Post by CincoPistolero »

if i have four select statements on a php page, do I need to close the sql connection for each of those calls or can I just close it once at the end of the page.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

1 Thread per Topic is enough.
Thread Locked.

Original Thread: viewtopic.php?t=34807
Locked