Jump to content

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


Kleidi

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/

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.