Page 1 of 1

how to define php sql connection in phalanger

PostPosted: November 6th, 2012, 4:46 am
by cmfaris
$connection = mysql_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD) or die(mysql_error());
$database = mysql_select_db(DB_DATABASE) or die(mysql_error());


i want to write it in phalanger how to do this ?
please help me..

Re: how to define php sql connection in phalanger

PostPosted: November 6th, 2012, 3:51 pm
by Jakub Misek
It is the same as in PHP. Or did you mean to use connection string from a .NET app?