Hello.
I assist a web developer with several real estate web sites that share property images (they are all in the same community). Images are on a server separate from the web sites. I have been using CFHTTP to check for the existence of an image. If I get a 200 OK response, I write out the...
Thanks for the help. I will see if I can fix things. I've worked with session values in the past with PHP, but it's been awhile since I don't use PHP much.
Haven't worked in PHP much and perhaps I'm misunderstanding how a form value like $area is handled on the page when attempting to pass it as part of a query string. If I implode the value and create the value $areas, I get the comma delimited string and can use it in the query, but didn't want...
Okay. Here is the code:
This checks the drop down list named 'area'
if($area){
$areas = implode("','",$_POST['area']);
if($areas != "ANY")
{
$area_clause = "AND Area IN('$areas')";
}
else
{
$area_clause = "AND Area = Area";
}
}
Here is an example query that will return results...
Hello,
I have been working on a site that is now using dropdown lists that allow multiple selections. When the form is submitted, the dropdown selections are converted to lists via code like this:
$areas = implode("','",$_POST['area']);
Then in a mySQL query, the value of $areas is used like...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.