Jump to content

Display table View and Form View - SQL/PHP

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
4 replies to this topic

#1
christh

christh

    Newbie

  • Members
  • Pip
  • 2 posts
Hi, hopefully somebody may have some suggestions on this one as I'm too not sure if it's even possible.

I would like to display the results of a query in it's typical continuous table view on the left of the screen and to the right have a second "form" that displays additional details/fields on the record selected in left table - as you click on a row in the left table, the right form updates with additional info - a bit like with Access using a sub-form. -

All the data to display is all in the same SQL table and I'm working in PHP.

All the querying and form building etc I'm comfortable with, I'm just not sure on the best way to incorporate a different view on the same page.

I'm working on a personal project that is a backend SQL/PHP system, not a webpage for public consumption. With this in mind I thought using Frames may be a solution although maybe some what inelegant? I could also do two half screen popups but I want to try to keep it on the same page if possible.

Hopefully you can follow the above and it's makes sense and any suggestions greatly appreciated.

Thanks

Chris

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Are you familiar with AJAX?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
christh

christh

    Newbie

  • Members
  • Pip
  • 2 posts
I'm not unfortunately - I guess would it be easy enough in that language?

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
AJAX is a technique that uses JavaScript along with PHP.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#5
amro

amro

    Newbie

  • Members
  • Pip
  • 5 posts
i think ajax is a set of technologies right ?