|
||||||
| PHP Forum Use this forum to discuss all aspects of PHP Development. PHP is a server-side, cross-platform, HTML embedded scripting language that lets you create dynamic web pages. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||||
|
Hey guys, so im working on my website, and so far, its the hardest one ive done... I have done many search functions, but mostly just key words or something like that.
take a look at this page.. Analyze That Host I wanted to make it so if you select "picky" on the development or management form, it will not search the SQL database for webmasters who have any of those settings, but if you select picky, thats where I get kinda stuck. Here is my code so far. PHP Code:
Last edited by phpforfun; 04-11-2008 at 11:16 AM. |
| Sponsored Links |
|
|
|
|||||
|
Ok. You're forgiven.
|
|
|||||
|
I really don't understand the whole idea behind "Picky" and "Not Picky" which is why I have not responded.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum | My Blog Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall |
|
|||||
|
picky means there picky about management / development, not picky means I want the code to not even look at the development or management sections in the sql db...
lets say they select "picky", I want the sql query to select WHERE PHP='yes'... if they select not picky, I dont want it to add any of the management or development variables or anything in the sql query. basicly, without having 1000 sql query commands, how do I use eac line to add an sql query... PHP Code:
Last edited by phpforfun; 04-12-2008 at 06:36 PM. |
|
|||||
|
Unless I am still not understanding, you can do something like this:
PHP Code:
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum | My Blog Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall Last edited by John; 04-12-2008 at 06:55 PM. |
|
|||||
|
Quote:
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PHP 5 and OOP | Jordan | PHP Tutorials | 10 | 08-22-2008 05:37 AM |
| Google Hacking | John | Tutorials | 6 | 07-22-2008 09:37 AM |
| Debugging with PHP | Jordan | PHP Tutorials | 1 | 01-30-2008 07:39 PM |