Posted by Bit Byte on 10/04/06 11:30
PHP noob here (background in C++/C/Java though)
I want to return dummy data from a stub function, this stub function
should replicate data from a database. Any idea how I can write this
stub function?
i.e. something like this:
function foo (){
}
I want this function to return data that looks like the result of a
database query - i.e. 0 or more rows, with column headers.
PS: The format will be fixed i.e. I know exactly the format of the data
I am expecting (i.e. number of coulmns and column names)
Navigation:
[Reply to this message]
|