I have a mysql database and 3 pages which queries and returns the data.
1st page(main.html) is just a form in html which takes query from the user and is connected to "form action="index.php"".
2nd page(index.php) has the mysql queries and gives a brief information(one line) about the user query. Now the index.php has a hyperlink to the third page(summary.php) which gives detailed information about the user query.
3rd page(summary.php) has detailed mysql statements.
all the three pages have
Expand|Select|Wrap|Line Numbers
- session_start();
- $_SESSION['field'] = $_POST['keyword'];
- echo session_id();
Problem: when I provides the query term in the text box of the html page(main.html) and click on submit button, it directs me to the index.php page which provides me the one line information.....till here it goes fine, but when I click the hyperlink on the index.php page it does takes me to the summary.php page but there is information fetched from the mysql database, means the tables are empy.
It seems that its not fetching the data.
Any help.
thanks