PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
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  
Old April 13th, 2002, 05:40 AM
wAr-AnGeL wAr-AnGeL is offline
Forum Security
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Behind You
Posts: 479 wAr-AnGeL User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m
Reputation Power: 7
Send a message via ICQ to wAr-AnGeL Send a message via AIM to wAr-AnGeL
Question Php & Sql

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

Reply With Quote
  #2  
Old April 13th, 2002, 11:26 AM
mytch mytch is offline
Dev Articles Novice (500 - 999 posts)
 
Join Date: Apr 2002
Location: Sydney, Australia
Posts: 589 mytch User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
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.

Reply With Quote
  #3  
Old April 14th, 2002, 02:41 AM
infamous-online infamous-online is offline
Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 404 infamous-online User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 24 m 44 sec
Reputation Power: 7
yes php can connect to a mssql database
__________________
Apache Expert

Reply With Quote
  #4  
Old February 6th, 2003, 04:03 AM
Bkoster Bkoster is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: netherlands
Posts: 6 Bkoster User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Angry PHP in MS SQL problem doesn't run

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 !!! ! !

Reply With Quote
  #5  
Old February 6th, 2003, 08:55 PM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 6 m 11 sec
Reputation Power: 8
Send a message via ICQ to stumpy Send a message via MSN to stumpy
Re: PHP in MS SQL problem doesn't run

Quote:
Originally posted by Bkoster
i'm running ms windows .net server 2003 Enterprise



Is this even out yet?! I know they've got a few RC's out, but come on.....

then again - looking @ your sig.....

Hmmmmmm
__________________
DevArticles Moderator
BlueSix - Web Development and Consulting

Reply With Quote
  #6  
Old February 7th, 2003, 02:56 AM
Bkoster Bkoster is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: netherlands
Posts: 6 Bkoster User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Here is a screen shot but ! ! !!


Can anybody help me !!!!!!!!
Attached Images
File Type: jpg screenshot2.jpg (58.5 KB, 221 views)

Reply With Quote
  #7  
Old February 7th, 2003, 04:46 AM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 6 m 11 sec
Reputation Power: 8
Send a message via ICQ to stumpy Send a message via MSN to stumpy
Ahh yes - ye ol' evaluation copy.


Kazaa rulz

Reply With Quote
  #8  
Old February 9th, 2003, 10:27 AM
FrankieShakes FrankieShakes is offline
Frank The Tank!
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: Jun 2002
Location: Toronto, Canada
Posts: 1,246 FrankieShakes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via ICQ to FrankieShakes Send a message via MSN to FrankieShakes
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

Reply With Quote
  #9  
Old February 17th, 2003, 05:05 AM
Bkoster Bkoster is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: netherlands
Posts: 6 Bkoster User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #10  
Old February 17th, 2003, 06:07 AM
Bkoster Bkoster is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: netherlands
Posts: 6 Bkoster User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingPHP Development > Php & Sql


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Iron Speed




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway