Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Passing sql results through files.
Ill try to explain my problem as best I can. I have, for instance, two php files. The first show a list of possible choices, from a sql statement. This file also has the information that the second file needs to show. The second file just show details for the given option. I need to pass the details from the first file to the second. I cant store the information in an array because there are many options with lots of information, and each one is shown as a link to the second file in the html generated. I tryied to store the sql result (from mysql_query), but it is lost in the second file, using $_SESSION...
Can anyone help? If my problem needs better explanation, please let me know.
Thanks any help.
0 · ·