Jump to content


Photo

php fetching dynamic tables

fetch array tables help fetch array tables help

  • Please log in to reply
4 replies to this topic

#1 bearology

bearology

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 28 March 2013 - 10:29 PM

Hello phpfreaks community,

 

I really need your advice regarding this situation.

 

In this program what i wanted is to fetch data from the database (sols.sql then grade_summary table) and show it in form18af.php by submit button from another page.

 

Note:

- subjects are dynamic

- name of students appear more than once in the table

- form18af.php is currently static

- other tables were truncated from the system

 

Please, i need your help and forgive me if my coding is noobish. Yeah, my friend suggested using arrays but i can't grasp the logic..

Attached Files



#2 trq

trq

    Advanced Member

  • Administrators
  • 30,918 posts
  • LocationSydney, Australia.

Posted 29 March 2013 - 12:12 AM

You forgot to ask a question.

http://thorpesystems.com | http://proemframework.org | http://github.com/trq

SmtpCatcher - A very simple mock sendmail useful for testing PHP mail scripts.
OPM - My Linux package manager.


#3 bearology

bearology

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 29 March 2013 - 09:56 PM

lol, bump.  i just need advice ( a simple example much like this) help. 



#4 trq

trq

    Advanced Member

  • Administrators
  • 30,918 posts
  • LocationSydney, Australia.

Posted 29 March 2013 - 10:11 PM

I don't see whats funny.

If you need help, ask a question / describe your problem.

Simply stating what you want does little to describe where you are stuck.

http://thorpesystems.com | http://proemframework.org | http://github.com/trq

SmtpCatcher - A very simple mock sendmail useful for testing PHP mail scripts.
OPM - My Linux package manager.


#5 bearology

bearology

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 30 March 2013 - 06:52 AM

Well sorry about that..

 

Uhm, the fetching of data i can do but the storing of the fetched data into an array and then displaying it.. that i have no idea.. 

 

I do not mean to insult you, sorry. All i want is an example similar to my problem..






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com