You are here: best way to have a database connection « PHP SQL « IT news, forums, messages
best way to have a database connection

Posted by Bruintje Beer on 11/24/05 20:22

Hi,

I have a question about making a database connection (MySQL). In my php
scripts you have a lot of queries to make. Wat is best to do

- Make every time a new connection whenever you execute a query
- Keep the connection, how do you save the connection. Do you need include
file i.e. include('database.php') in every script or include_once
('database.php')

thanks

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация