I'm making a class (just basics) and I need help on returning an array of my object. Something like this
Something like this in java.VB Code:
<?php class comment{ function select_all(){ // I should return all comments from the database. } } ?>
Hope I don't make non sense post.VB Code:
import java.util.*; public class comment{ public List<comment> select_all(){ List<comment> list=new ArrayList<comment>(); return list; } }![]()




Reply With Quote