NYCPHP Meetup

[nycphp-talk] PHP and MSSQL 7

Joseph Crawford codebowl at gmail.com
Thu Jan 6 14:43:29 EST 2005


ahh Nestor, 

there is a big difference when connecting to mssql server from a linux
machine that is why that code didnt work for me but does for you :D

csnyder,
i am back to using FreeTDS but do you have any ideas why it seems to
connect but then times out when i execute this query

$res = mssql_query("select * from idxmls1 where mod_date_time
>'2004-1-1 00:00:00'", $conn);
$arr = mssql_fetch_array($res);
echo '<pre>';
print_r($arr);
echo '</pre>';

the following is the error that i get

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 192 bytes) in /htdocs/test/default.php on line 13


-- 
Joseph Crawford Jr.
Codebowl Solutions
codebowl at gmail.com



More information about the talk mailing list