Hi all, I have tried this in php.windows, no answers there and since this is kind of db question i will try here. IIS Win2000, MSSQL 7, PHP 4.2.3 I have script that reads about 100-200 rows in the SELECT list and it is ok. After that, i have robust sql query for select some data from 4-5 tables, so i have to use joins. It returns about 600 rows (in the SQL Query Analyzer it works) - but in php i get this error: The instruction at "0x77fcb007" referenced memory at '0x0000000". The memory could not be "written". Click on OK to terminate the program Click on CANCEL to debug the program Does anyone know what this could be? On the other server, which has php 4.0.6 this script works without problems!? Also, when i have where clause in the query, which reduces number of retreived rows, mssql_query will work. Thanks in advance, Radovan -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php