how to define php sql connection in phalanger

Discussion about the open-source Phalanger [?] project.

how to define php sql connection in phalanger

Postby cmfaris » November 6th, 2012, 4:46 am

$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..
cmfaris
 
Posts: 1
Joined: November 6th, 2012, 4:39 am

Re: how to define php sql connection in phalanger

Postby Jakub Misek » November 6th, 2012, 3:51 pm

It is the same as in PHP. Or did you mean to use connection string from a .NET app?
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague


Return to Phalanger project

Who is online

Users browsing this forum: No registered users and 23 guests

cron

User Control Panel

Login

Who is online

In total there are 23 users online :: 0 registered, 0 hidden and 23 guests (based on users active over the past 5 minutes)
Most users ever online was 330 on April 19th, 2024, 1:35 am

Users browsing this forum: No registered users and 23 guests