|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Can PHP connect to a SQL server? How is a SQL server different from MySQL? can phpMyAdmin be used to manage a SQL server like i can for a MySQL?
__________________
![]() ![]() "Only Linux users see the end of crashes." - Pl4t0 |
|
#2
|
|||
|
|||
|
Hi,
It sure can. I've written a detailed article on how to do this and you can read it here: http://www.devarticles.com/art/1/100 MySQL is a cross platform partially limited SQL language baseddatabase that is free. SQL Server is made by Microsoft and has a similar SQL language to MySQL but also supports many advanced features and has a better IDE and tools. You can't use phpmyadmin for SQL Server but sql server comes with enterprise manager, which is a windows app to do the same things as phpmyadmin does for mysql. |
|
#3
|
|||
|
|||
|
yes php can connect to a mssql database
![]()
__________________
Apache Expert |
|
#4
|
|||
|
|||
|
Hi
i'm running ms windows .net server 2003 Enterprise and installed MS SQL server 2000 readed the article: http://www.devarticles.com/art/1/100 and did everything it said and when i come to the part where i must run a php script to test the link from php to sql DB script: <?php $myServer = "localhost"; $myUser = "sa"; $myPass = ""; $myDB = "Northwind"; $s = @mssql_connect($myServer, $myUser, $myPass) or die("Couldn't connect to SQL Server on $myServer"); $d = @mssql_select_db($myDB, $s) or die("Couldn't open database $myDB"); ?> it just shows plain text like the source code what have i done wrong ? ? ? ? ? ? ? ? any help is welcome !!! ! ! |
|
#5
|
||||
|
||||
|
Re: PHP in MS SQL problem doesn't run
Quote:
Is this even out yet?! I know they've got a few RC's out, but come on..... then again - looking @ your sig..... Hmmmmmm |
|
#6
|
|||
|
|||
|
Here is a screen shot but ! ! !!
Can anybody help me !!!!!!!! |
|
#7
|
||||
|
||||
|
Ahh yes - ye ol' evaluation copy.
Kazaa rulz |
|
#8
|
|||
|
|||
|
BKoster,
I'll start with the most obvious question: Do you have PHP installed on your machine? And if so, is it properly configured to parse PHP files? Btw, can the new Windows .NET be used as an everyday OS, or is it ONLY used for server functions? Anybody know?
__________________
____________________________________________ Developer Shed Weekly Writer | DevArticles Forum Moderator Build Your Own KlipFolio Klip With PHP FrankManno.com - Under Construction Design Interactive Group - Under Construction |
|
#9
|
|||
|
|||
|
Btw, can the new Windows .NET be used as an everyday OS, or is it ONLY used for server functions? Anybody know?
and Stumpy no!! I bloody hate KazAa ! ! ! ![]() Newsbin Pro ![]() It's only used for server functions ! ! ! looks like XP but its not. and yes i have installed Php but i dont know how to configure it ?!?!?! ![]() Last edited by Bkoster : February 17th, 2003 at 05:09 AM. |
|
#10
|
|||
|
|||
|
Oke Oke got it working now but still a error
Couldn't connect to SQL Server on 127.0.0.1 Last edited by Bkoster : February 18th, 2003 at 05:26 AM. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > Php & Sql |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|