![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| PHP PHP for some can be one of the hardest website programming codes, so do you need help on your PHP script, if it is php4, php5 or lower this is the place for you for any PHP help. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| I'm working on a PHP script that queries a MS SQL server. It was originally developed under Linux and works under Linux without any problems. I'm now planning on developing it further but it's not even working under WinXP. Here's part of my code that's causing the problem: echo "1"; if (!$link = @mssql_connect($db_host, $db_user, $db_pass)) { echo "2"; $result = 0; print("<FONT COLOR='Red'><BR><BR><HR><CENTER><B>Error connecting to $db_host!<HR></B><BR>\n"); } else { echo "3"; mssql_select_db($db_name); } It seems to die on: if (!$link = @mssql_connect($db_host, $db_user, $db_pass)) since only 1 is echo'd (2 & 3 aren't). The problem is no error message is being returned. Anyone happen to know why there's isn't an error being returned? | |||
| Featured Websites | ||||
|
![]() |
| Tags: 433, iis, php, winxp |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to chmod files in WinXP | c_chen | PHP | 2 | 07-01-2007 5:23 PM |
| winXP - P/W | Gazwad | Windows | 6 | 06-11-2007 5:23 PM |
| Problema con HD, mb o WinXP? | Torakiki | Motherboards | 0 | 06-11-2007 1:30 PM |
| can't install CDW 10 on WinXP | shadow | Graphics in general | 0 | 05-28-2007 7:48 PM |
| Nakamichi MJ-4.4 CD-Rom Changer Driver for WinXP???? | Adrian | Operating Systems And Software | 1 | 05-28-2007 5:51 PM |
| Featured Websites | ||||
|