Is there an easy way to dump an array returned from mysql_fetch_row into a CFArray? (part of the PHP implementation of CFPropertyList) I'm bummed by the lack of documentation on CFPropertyList for PHP. Iterating through each item in the array seems inefficient. I'm open to using a different mysql_fetch_... command.
Ben sadece söylemek istiyorum:
$NewArray = new CFArray( $ResultArray )
Ama bu iş gibi görünüyor deosn't.
Bu benim geçerli kod:
$plist = new CFPropertyList();
$ResultRow = mysqli_fetch_row( $result );
$plist->add( $TableRow = new CFArray() );
foreach ( $ResultRow as $Item ){
$TableRow->add( new CFString( $Item ) );
}