NextGenForum.net Posted August 1, 2007 Share Posted August 1, 2007 Hi, I want a search form on my site, so that is searches all of the entries in the database (each game), But i dont know where to start, could someone help? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/62927-search-form/ Share on other sites More sharing options...
chronister Posted August 28, 2007 Share Posted August 28, 2007 That is a big undertaking for a "first timer", I would suggest starting with the basics.... Thorpe from this site has a great link in his sig... http://hudzilla.org/phpwiki/index.php?title=Main_Page This will start from square 1 and go from there.... Start learning the basics and then go for this project. Nate Quote Link to comment https://forums.phpfreaks.com/topic/62927-search-form/#findComment-335966 Share on other sites More sharing options...
moberemk Posted August 28, 2007 Share Posted August 28, 2007 I'm guessing you're using Dreamweaver? Well, have you form use GET and link to another page. On that page, create a recordset with the table you want to use, and then use Like instead of = or != in the conditions list at the bottom. Quote Link to comment https://forums.phpfreaks.com/topic/62927-search-form/#findComment-336157 Share on other sites More sharing options...
chronister Posted August 28, 2007 Share Posted August 28, 2007 Using dreamweaver to create php code is soooo bloated and inefficient. I use DW for layouts and such too, but hand code your PHP. You'll do yourself a favor by reducing the file size and also it will teach you how to work through logical problems and proper coding skills whereas DW will teach you how to click the right buttons. just my opinion for what it's worth. Nate Quote Link to comment https://forums.phpfreaks.com/topic/62927-search-form/#findComment-336233 Share on other sites More sharing options...
Fadion Posted September 2, 2007 Share Posted September 2, 2007 Using dreamweaver to create php code is soooo bloated and inefficient. I use DW for layouts and such too, but hand code your PHP. You'll do yourself a favor by reducing the file size and also it will teach you how to work through logical problems and proper coding skills whereas DW will teach you how to click the right buttons. Probably what u said is by the idea that using notepad for coding and stuff makes u a hardcore. Imo DW is the best all around editor out there. For php it helps on code formating, code coloring (so u distinguish functions, strings, comments etc) and simple code hinting on core functions. About using recordsets and stuff (it remembers me asp.net) is a matter of choice. Myself i find it a lot easier coding them then just running some wizards, but eventhough it doesnt mean who uses them is a noob and the application cant be judged by the way some use it. Quote Link to comment https://forums.phpfreaks.com/topic/62927-search-form/#findComment-339561 Share on other sites More sharing options...
chronister Posted September 6, 2007 Share Posted September 6, 2007 Using dreamweaver to create php code is soooo bloated and inefficient. I use DW for layouts and such too, but hand code your PHP. You'll do yourself a favor by reducing the file size and also it will teach you how to work through logical problems and proper coding skills whereas DW will teach you how to click the right buttons. Probably what u said is by the idea that using notepad for coding and stuff makes u a hardcore. Imo DW is the best all around editor out there. For php it helps on code formating, code coloring (so u distinguish functions, strings, comments etc) and simple code hinting on core functions. About using recordsets and stuff (it remembers me asp.net) is a matter of choice. Myself i find it a lot easier coding them then just running some wizards, but eventhough it doesnt mean who uses them is a noob and the application cant be judged by the way some use it. hardcore schmardcore, I don't feel there is more glory to be gained by using notepad. I code my php in dreamweaver for the precise reasons you mentioned, the code coloring, code completion and such. But is what I meant was that php should be done in code view by hand rather than letting Dreamweaver create the PHP for you. There is no wrong or right way, but I feel that a person will be better off hand coding as opposed to letting Dreamweaver create the code. Just my $.02 Nate Quote Link to comment https://forums.phpfreaks.com/topic/62927-search-form/#findComment-343022 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.