Click here to Skip to main content
15,794,377 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
AnswerRe: Which is the Best Laravel Admin Template with all the advanced functionalities? Pin
Richard MacCutchan23-Dec-16 22:55
mveRichard MacCutchan23-Dec-16 22:55 
Questionfail to run php script as shell Pin
njzt6-Dec-16 16:36
njzt6-Dec-16 16:36 
SuggestionRe: fail to run php script as shell Pin
Richard MacCutchan6-Dec-16 23:03
mveRichard MacCutchan6-Dec-16 23:03 
QuestionDatabase connection refused. Pin
taiwokaffo6-Dec-16 5:16
taiwokaffo6-Dec-16 5:16 
QuestionRe: Database connection refused. Pin
Richard MacCutchan6-Dec-16 5:27
mveRichard MacCutchan6-Dec-16 5:27 
AnswerRe: Database connection refused. Pin
taiwokaffo6-Dec-16 5:45
taiwokaffo6-Dec-16 5:45 
GeneralRe: Database connection refused. Pin
Eddy Vluggen6-Dec-16 5:58
professionalEddy Vluggen6-Dec-16 5:58 
GeneralRe: Database connection refused. Pin
taiwokaffo7-Dec-16 0:06
taiwokaffo7-Dec-16 0:06 
Thanks all it now working i used this to connect to the sql server 2012

C#
$serverName = "OurIPAddress"; //serverName\instanceName, portNumber (default is 1433)
$connectionInfo = array( "Database"=>"Thenameofourdatabase", "UID"=>"OurID", "PWD"=>"Ourpassword");
$conn = sqlsrv_connect( $serverName, $connectionInfo);

if( $conn ) {
     echo "Connection established.<br />";
}else{
     echo "Connection could not be established.<br />";
     die( print_r( sqlsrv_errors(), true));
}

QuestionPHP topic selection for Final year Project Pin
Member 1278820324-Nov-16 3:51
Member 1278820324-Nov-16 3:51 
GeneralRe: PHP topic selection for Final year Project Pin
Kornfeld Eliyahu Peter24-Nov-16 6:08
professionalKornfeld Eliyahu Peter24-Nov-16 6:08 
AnswerRe: PHP topic selection for Final year Project Pin
Richard MacCutchan24-Nov-16 7:37
mveRichard MacCutchan24-Nov-16 7:37 
GeneralRe: PHP topic selection for Final year Project Pin
Member 127882035-Dec-16 23:17
Member 127882035-Dec-16 23:17 
GeneralRe: PHP topic selection for Final year Project Pin
Member 127882036-Dec-16 23:35
Member 127882036-Dec-16 23:35 
QuestionSeveral arrays to one multidimensional Pin
Member 128309193-Nov-16 6:29
Member 128309193-Nov-16 6:29 
AnswerRe: Several arrays to one multidimensional Pin
WildDonkey11-Feb-17 4:59
WildDonkey11-Feb-17 4:59 
QuestionOOP in PHP Pin
Member 1278820328-Oct-16 5:22
Member 1278820328-Oct-16 5:22 
AnswerRe: OOP in PHP Pin
Anurag Gandhi13-Nov-16 7:09
professionalAnurag Gandhi13-Nov-16 7:09 
GeneralRe: OOP in PHP Pin
Peter_in_278013-Nov-16 14:38
professionalPeter_in_278013-Nov-16 14:38 
GeneralRe: OOP in PHP Pin
Member 1278820324-Nov-16 3:03
Member 1278820324-Nov-16 3:03 
GeneralRe: OOP in PHP Pin
Afzaal Ahmad Zeeshan24-Nov-16 3:19
professionalAfzaal Ahmad Zeeshan24-Nov-16 3:19 
GeneralRe: OOP in PHP Pin
kribo5-Dec-16 4:26
professionalkribo5-Dec-16 4:26 
AnswerRe: OOP in PHP Pin
Anurag Gandhi5-Dec-16 4:48
professionalAnurag Gandhi5-Dec-16 4:48 
AnswerRe: OOP in PHP Pin
Afzaal Ahmad Zeeshan24-Nov-16 3:21
professionalAfzaal Ahmad Zeeshan24-Nov-16 3:21 
GeneralRe: OOP in PHP Pin
Member 1278820324-Nov-16 4:21
Member 1278820324-Nov-16 4:21 
AnswerRe: OOP in PHP Pin
kribo5-Dec-16 4:32
professionalkribo5-Dec-16 4:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.