I found my host doesn't allow me to have more than 20 concurrent connections at any given time. Would you like to tell me what it means? Does it mean that I can't have 20 visitors online? Thanks in adcance
i think it doesn't mean that! Request more than 20 will processed in queue! (Queue of 20 request at once)
20 people at a time connecting to your database, Their are ways to better this - for instance in ASP - always do this: Connect to DB, GetRows() your data - creates 2 dim array of data Close connection to DB Display data Same with PHP - run your queries first, then close ur db connection and display the page. Always try to get in and out of the db as FAST as possible and you shouldn't run into issues.
Very true, as in example my core script has this statement: @mysql_close($dbc); @mysql_close(); Code (markup):