Jump to content

Read query into an array


semanticnotion

Recommended Posts

hi guys, i want to retrieve data from database table using select query store the result into an array in database class and then in view class e.g in html i want to make an object of that database class and call the array and display the data into html table.

someone help would be appreciated.

                                                                                        Thanks in advance.

Link to comment
https://forums.phpfreaks.com/topic/216851-read-query-into-an-array/
Share on other sites

Not to be short, but this is a standard tutorial in almost every beginner php book on the market.

 

Do you currently have a web server that supports php and mysql? And are you familiar enough with those interfaces to 1) Create a database and table for experimenting and 2) create a php file to write this script?

 

Where are you at on your education with all of this?

 

I can probably walk you through the entire process of your initial question... Let me know.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.