kamaral9696 Posted March 20, 2009 Share Posted March 20, 2009 I will try to be as detailed as possible here. I have created a query to pull from the database, as an example here is a link to the working query result page. http://www.katieamaral.net/admin/result_commRent.php What I want to do is to be able to click on the title and have it take you to the next page, which would have all the details pertaining to that particular record. Here is an example of what it should look like http://www.katieamaral.net/admin/detail_commRent.php When I go to the site and test it live this is the page it directs to http://www.katieamaral.net/admin/commRent_detail.php?comm_id=2 , but the screen is blank? It looks like it is going to the right place? I have attached the code below for both pages. Thanks for any help on this. I am new to this and self-taught. I have been struggling with this for a few days and just can't seem to figure it out! Thanks again. [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/150355-solved-trying-to-dynamically-link-query-results-php-mysql-database/ Share on other sites More sharing options...
Yesideez Posted March 20, 2009 Share Posted March 20, 2009 Check the way you're using your comments... <?php if ($totalRows_result_commRent == 0) { // Show if recordset empty ?> I could be wrong but I believe you could have commented out the ?> If you must comment like that use this instead: <?php if ($totalRows_result_commRent == 0) { /* Show if recordset empty */ ?> Link to comment https://forums.phpfreaks.com/topic/150355-solved-trying-to-dynamically-link-query-results-php-mysql-database/#findComment-789695 Share on other sites More sharing options...
kamaral9696 Posted March 20, 2009 Author Share Posted March 20, 2009 Thanks so much! That worked. I knew that it would be something really silly after my hours of trying to fix it. Link to comment https://forums.phpfreaks.com/topic/150355-solved-trying-to-dynamically-link-query-results-php-mysql-database/#findComment-789749 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.