Jump to content

Show fields of db and link them to show the full container


Recommended Posts

Hello to everyone.

Hope that here is the right section to post this wuery for help...

 

Anyway, I'm trying to show a field of a db table and link it, and, when anyone clicks on that link, to appear a new page with all the texts of that field of db.

To be more understandable, i will give an example:

 

DB structure is:

ID - movie title - time - date - code (code= a source code of a video, normally from youtube)

 

-----

 

Index.php should be something like:

 

At 14:00 - 22.10.2010 - Transformers 2

 

... the title (or the hole row) should be linked on something lik

url /movie.php?id=1 (or rewritted url /movie/1-transformers2)

 

... and when someone clicks on that link, should appear a new page that contains , Date, Time, Title and the video that is added at "code" field in the db table.

 

Hope that i was understandable and someone can help me.

 

Thank you Very Much!

 

P.S. An example may be http://atdhe.net/

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.