SORRRY PEOPLE, i am USING INTERBASE, not mysql
if i want to get count of records, yes i also use
select count (ID) from TABLE
it is right but,
my uqery get into result dataset only fields with data
some people told me that i must to use this
$var_first=select count(ID) from table_1
$var_second=select (ID) from table_1
this people told me that i must to use two same sql querys , into first var i get count, and into second var i get real data
it is not right !!!!
my php script must send two same querys but with different results,,,
also for this situation is only one way, STORED PROCEDURE,
because two querys executes on the server side and speed is more better
but in stored procedure i also dont want to use two queries like
1) select count(TT) from table TT into :variable_record_count;
2) select (TT) FROM table TT INTO :variable_real_data
why in ibase i cannot get returned record count ???
what is the reason, that ibase developers dont include this function ???
thanks for helping