I am new in php line ,iI have made some pages which i change from aspto php but i dont better understand the method to connect if with my sql database,like objrs to $row and much more,can someone tell the procedure to connect php page to database

Recommended Answers

All 2 Replies

It all depends on what db you are trying to connect to and your current server configuration. Lucky for you, php is one of the most highly documented languages on the web. It even has its own "user manual" so to speak at php.net. Utilize google. There are numerous tutorials out there to connect to Access, Oracle 10g, MS SQL, MySQL...Also, to help you get started, there are ASP to PHP converters available. If you want to connect to MS SQL Server, you'll have to make sure your server is set up for it. Here are the requirements and some sample code.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.