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
https://forums.phpfreaks.com/topic/233408-return-data-when-link-is-clicked/
Share on other sites

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.