Hi,
Im not sure but:
Is it safe to assume that row[0] and row[1] are valid (ie not NULL and not
garbage)!(?)
...
> row = mysql_fetch_row(res);
> printf("[%s:%s]\n", row[0], row[1]);
...
> mysql_data_seek(res, 0);
...
> row = mysql_fetch_row(res);
> printf("[%s:%s]\n", row[0], row[1]);
...
> However, it does not crash in VC6.0.
Does it do the expected (ie two similar rows)?
It might be that VC6 does a correct jobb with garbage pointers (NULL
pointers) while Borland has a hard time with them inside printf(...).
// Jarmo
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php