return.c Posted April 30, 2008 Share Posted April 30, 2008 hi all, I am developing a small appointment web application for my university. Where students can enter all their appointment details. I store appointments (in MySql) in 3 categories 1) Name 2) Time 3) Description when a particular student wants to list out all his appointments, the page should display only Name and Time of all the appointments. It has to create a link based on Name, where when the student clicks, it will have to display the description. Why I need this is, let us say a student has 100 appointments. It will be messy to display all appointment's Name, Time and Description in a single page. Hence I will list out only Name and Time for all appointments. I will create a dynamic a href link based on Names, where when a user clicks it another php page or even a same php page should display description. I don't know how to do this. could someone explain. i don't want to use GET and PUT method. Quote Link to comment Share on other sites More sharing options...
Rowno Posted April 30, 2008 Share Posted April 30, 2008 If you're wanting to use links you'll have to use GET and put a variable in the url like this: <a href="nameofpage.php?variable1=valueofvariable1&variable2=valueofvariable2">name of link</a> Quote Link to comment Share on other sites More sharing options...
GingerRobot Posted April 30, 2008 Share Posted April 30, 2008 Your only real options are links with GET or a form buttons using POST. Quote Link to comment 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.