Jump to content

Return Data When Link is Clicked


Havok823i

Recommended Posts

Hi all!! I'm having a bit of trouble thinking through this on my own. Here is what I have so far.

 

SQL Table

 

Table name is HOWTO

 

+-------------+-------------+------+-----+-------------------+-----------------------------+

| Field      | Type        | Null | Key | Default          | Extra                      |

+-------------+-------------+------+-----+-------------------+-----------------------------+

| ID          | int(11)    | NO  | PRI | NULL              | auto_increment              |

| Title      | varchar(50) | YES  |    | NULL              |                            |

| Date        | timestamp  | NO  |    | CURRENT_TIMESTAMP | on update CURRENT_TIMESTAMP |

| Description | text        | YES  |    | NULL              |                            |

+-------------+-------------+------+-----+-------------------+-----------------------------+

 

 

I have the following pages:

 

howto_list.php

howto_display.php

 

 

I'm trying to do achieve the following:

 

I need to have the field Title returned alphabetically on the howto_list.php page.

 

I need to then have them all to become links that can be clicked on that brings you to howto_display.php page that returns the entire row of the Title that was clicked on, on the previous page.

 

 

Maybe I'm missing some steps such as php pages, another sql table, or even an alternate way of going about this.

 

Any ideas would be greatly appreciated!

Link to comment
Share on other sites

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.