Nat Posted June 3, 2007 Share Posted June 3, 2007 Hi, I have created a PHP page with a dynamically populated selection list and submit button. And another php page that is suppose to display the results in a table from MySQL. But haven't got the code quite right. Does anyone know some good tutorials for building search and results pages in PHP? Link to comment https://forums.phpfreaks.com/topic/54064-re-search-result-pages-in-php/ Share on other sites More sharing options...
breath18 Posted June 3, 2007 Share Posted June 3, 2007 what exaclty are you searching for ? are you trying to just make something like a vooting both ? or what. if you can post alittle more information, i might be able to help you out. Link to comment https://forums.phpfreaks.com/topic/54064-re-search-result-pages-in-php/#findComment-267300 Share on other sites More sharing options...
tail Posted June 3, 2007 Share Posted June 3, 2007 this may help: http://www.freewebmasterhelp.com/tutorials/phpmysql/1 Link to comment https://forums.phpfreaks.com/topic/54064-re-search-result-pages-in-php/#findComment-267324 Share on other sites More sharing options...
Nat Posted June 3, 2007 Author Share Posted June 3, 2007 I'm stuck on the results.php page. On the search.php page I have a dynamically populated search list - linked to a table but there's a option called "Any" which if selected will retrieve all of the options within the selection list. But I need it to retrieve the result if only 1 of the options is selected also. Link to comment https://forums.phpfreaks.com/topic/54064-re-search-result-pages-in-php/#findComment-267365 Share on other sites More sharing options...
chigley Posted June 3, 2007 Share Posted June 3, 2007 Can you post more details and the code of your form please? Link to comment https://forums.phpfreaks.com/topic/54064-re-search-result-pages-in-php/#findComment-267368 Share on other sites More sharing options...
Nat Posted June 3, 2007 Author Share Posted June 3, 2007 unfortunately I can't because it's an assignment and I don't want to get in strife but I will try and give a little bit more info. I'm stuck on the results.php page. On the search.php page I have a dynamically populated search list - linked to a table but there's a option called "Any" which if selected will retrieve all of the options within the selection list. But I need it to retrieve the result if only 1 of the options is selected also. Also another problem is that the options are represented by a number in another column of the table in MySQL, and I have to also link that to the options in the selection list. if you can recommend any tutorials or know what the problem could be would be most appreciated. Link to comment https://forums.phpfreaks.com/topic/54064-re-search-result-pages-in-php/#findComment-267376 Share on other sites More sharing options...
chigley Posted June 3, 2007 Share Posted June 3, 2007 Well if you showed the form then I could code it for you. Can you post the input names? Link to comment https://forums.phpfreaks.com/topic/54064-re-search-result-pages-in-php/#findComment-267383 Share on other sites More sharing options...
Nat Posted June 5, 2007 Author Share Posted June 5, 2007 No worries - thanks for trying to help. I should prob. try to figure it out myself. Although any tutorials you can recommend would be great. Link to comment https://forums.phpfreaks.com/topic/54064-re-search-result-pages-in-php/#findComment-267993 Share on other sites More sharing options...
redarrow Posted June 5, 2007 Share Posted June 5, 2007 you can learn everythink here and more ok. http://www.w3schools.com/ also you are quite adiment not to show nothink then how can any one help but there you go a quick helpful link. Link to comment https://forums.phpfreaks.com/topic/54064-re-search-result-pages-in-php/#findComment-267997 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.