/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php function loadFetch( $assoc = false, $sql = null ) { $fetchType = ( $assoc ) ? MYSQL_ASSOC : MYSQL_NUM; { { $query_result[] = $fetch; } { } else { return $query_result; } } } ?>