Hi Jong,
The problem is your Query is in looping situation. Because you didn't
close the link after your first inserted.
It doesn't matter that you use (mssql_free), you still need to close
the link first.
The function of mssql_free is just free up the content of that variable,
Your suggestion sounds interesting. But how to close
the link? Do you mean mssql_close()? What I know is
that we can do multiple querys during one database
connection.
I guess I didn't explain my problem clear enough.
Sorry about that.
My point is why query works always well until the
first up