- Wed Aug 29, 2018 5:51 pm
#815841
Hi
I install process maker 3.2.3 with php 5.6 on windows 64bit
I download https://wiki.processmaker.com/sites/def ... libx64.dll and add to ext php...
I can connect to sql server 2008 but when write query for drop down control return ??? text for utf-8 data...
I write this sample code that you can test...
I install process maker 3.2.3 with php 5.6 on windows 64bit
I download https://wiki.processmaker.com/sites/def ... libx64.dll and add to ext php...
I can connect to sql server 2008 but when write query for drop down control return ??? text for utf-8 data...
I write this sample code that you can test...
Code: Select all
my table
returned data
please help me
ini_set('mssql.charset', 'UTF-8');
$myServer = "192.168.250.42";
$myUser = "khoob";
$myPass = "123456";
$myDB = "test";
MSSQL_CONNECT($myServer,$myUser,$myPass) or DIE("DATABASE FAILED TO RESPOND.");
mssql_select_db($myDB) or DIE("Database unavailable");
$query = "SELECT * FROM dbo.zahra";
$result = mssql_query( $query );
for ($i = 0; $i < mssql_num_rows( $result ); ++$i)
{
$line = mssql_fetch_row($result);
print( "$line[0] - $line[1]\n");
}