Database Class
Any one please help me to create a mysqli database class for CURD .... i am Searching google but i can't find a good one ....

Please help....

5th Mar 2011 at 11:37 AM   1522 Views

Have a look at here. May b it'll help u
5th Mar 2011 at 4:51 PM  

Thanks Suresh....
6th Mar 2011 at 2:58 PM  

In OOP Database class if i use array to fetch my data from database like this


echo $rows['test'];


is it right?
6th Mar 2011 at 4:05 PM  

Can't say a lot coz, u've just given a single line of code... Any way, if by the above piece of code u can access the information from it's source then there is no way it can be a wrong.

But, if u r getting information from the DB by array of objects then... better way to access array elements are using PHP's "foreach" function.

Know more :
7th Mar 2011 at 12:04 AM