Havok823i Posted April 11, 2011 Share Posted April 11, 2011 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! Quote Link to comment https://forums.phpfreaks.com/topic/233408-return-data-when-link-is-clicked/ Share on other sites More sharing options...
Pikachu2000 Posted April 11, 2011 Share Posted April 11, 2011 Which part are you having trouble with, the SQL syntax, or the php logic to display the results? Quote Link to comment https://forums.phpfreaks.com/topic/233408-return-data-when-link-is-clicked/#findComment-1200290 Share on other sites More sharing options...
Havok823i Posted April 11, 2011 Author Share Posted April 11, 2011 I need help with the php and the sql. Quote Link to comment https://forums.phpfreaks.com/topic/233408-return-data-when-link-is-clicked/#findComment-1200292 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.