Search found 6 matches

by birrd
Mon Dec 08, 2008 5:14 am
Forum: PHP - Code
Topic: Foreach looping
Replies: 4
Views: 203

Re: Foreach looping

:lol: oops... Okay, I tried but.... Now, the query only recognizes the release_date inputs; neglecting the value in the first text field with a dropdown list option as well as the checkboxes that are selected... :?: Thing is... my advanced search function has 3 text fields and [5] checkboxes for rat...
by birrd
Mon Dec 08, 2008 1:45 am
Forum: PHP - Code
Topic: Foreach looping
Replies: 4
Views: 203

Re: Foreach looping

Oh nonono.. you mentioned the previous thread lacked info? So i thought to repost another with more details for a better understanding of the issue at hand. =) ... mm does that mean the solution which u provided previously will work if I want results as a whole (meaning: if i input into the text fie...
by birrd
Mon Dec 08, 2008 12:02 am
Forum: PHP - Code
Topic: Foreach looping
Replies: 4
Views: 203

Foreach looping

Hi, The issue is like this.... For my advanced search function (to search by text - option ['title/director'] AND/OR text - [release date] AND/OR checkboxes - [ratings 1 to 5]), I must do a foreach in order to achieve results according to the selected option, inputs and/or selected checkboxes. Howev...
by birrd
Sun Dec 07, 2008 9:22 pm
Forum: PHP - Code
Topic: How can I combine foreach..?
Replies: 1
Views: 235

How can I combine foreach..?

Hi, I did my foreach (for an advanced search) separately because I had difficulties in dealing with my checkboxes result. Thankfully, it works now but... I'm not sure how I can combine the two foreach into just one, to produce a single foreach loop... This is the first foreach... $sql = "SELECT...
by birrd
Sun Dec 07, 2008 8:32 am
Forum: PHP - Code
Topic: Results from checkboxes
Replies: 1
Views: 129

Results from checkboxes

Hi, Does anyone know how I can use foreach or forloop to get any selected checkboxes results and how can I query mysql to echo for the multiple values? :?:   <input type="checkbox" name="rating[]" value="1"> <input type="checkbox" name="rating[]" val...
by birrd
Mon Dec 01, 2008 11:09 am
Forum: Databases
Topic: Advanced Search
Replies: 1
Views: 302

Advanced Search

Briefly: I am doing an advanced search page for a movie review website. Objective: To reflect results according to selected specific parameter(s) with a single search button. Question: How do I condition the search process page to enable 'searchby' specific parameters? Include array? Set boolean?? E...