Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- question about using sql server with php
October 27, 2008, 4:07 am
rate this thread
using my sql database
when i use my sql database the php code to connect to the my sql
database is =
$conn = mysql_connect($hostname, $user, $password);
echo "Unable to connect to Database";
$query = mysql_query($selectquery);
if i have to connect to a sql databse instead of my sql database as
some companies use sql database, how can i change the php code to
connect, run a query and close connection
to the sql database.
apart from changing the code to connect to sql database is there
something else i need to do.
php my admin is used to access the tables in mysql database, which
tool should be used to access data in the tables for sql database.
Re: question about using sql server with php
Which database? "MySQL" is a specific database. "SQL Database" is a
generic term; there are many, such as PostGres, SQL Server, Oracle, DB2,
and more. Each one is a little different.
You won't find any tools such as PhpMyAdmin for other databases, but
they have their own tools (so does MySQL, for that matter).
Remove the "x" from my email address
JDS Computer Training Corp.