http://pl2.php.net/manual/pl/function.mysql-fetch-array.php - wszystkie rodzaje mysql-fetch... czytalem
moj kod to :
<?php function returnData_blog() { $query = "SELECT entry FROM blogtable"; //$row = mysql_fetch_row($execute); $_arr[0] = $row[0]; } /* $_arr = array(); $index = 0; while($row=mysql_fetch_assoc($execute)){ $_arr[$index] = $row['value']; $index++; } mysql_free_result($result);*/ return $_arr; } ?>
po komentarzach zauważcie ze kobinowalem nie malo
a mimo to mam ciagle blad :
(Object)#0
message = "faultCode:AMFPHP_RUNTIME_ERROR faultString:'mysql_fetch_array(): supplied argument is not a valid MySQL result resource' faultDetail:'/home/cr3do/public_html/remoting/amfphp/services/portfolio/DataBaseNavigator.php on line 30'"
name = "Error"
rootCause = (null)
co jest?