Zend amf can not return big-int of MySQL database?

Try putting the annotations before the service method, as follows: param int $user_id @return int Also, your code is returning the result of mysql_query. Shouldn't process the result before returning it? $values = array() while ($row = mysql_fetch_assoc($result)) { $values = $row'friend_id'; } and then, returning the $values, setting @return to array instead of int.

Try putting the annotations before the service method, as follows: /** @param int $user_id @return int */ Also, your code is returning the result of mysql_query. Shouldn't process the result before returning it? $values = array() while ($row = mysql_fetch_assoc($result)) { $values = $row'friend_id'; } and then, returning the $values, setting @return to array instead of int.

Well, it returns correct result when array is returned but what if I want to return an object rather than array. – Muhammad Irfan Jun 14 at 7:53 1 well, not all objects can be returned using AMF. If you want to return database records without processing them into custom objects ( see en.wikipedia.Org/wiki/Data_transfer_object) you should take a look at Zend_Db, which I am pretty sure that you can return the DB records using Zend_AMF.

– Jhonny Everson Jun 14 at 8:51.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions