Ask a Question related to Dreamweaver AppDev, Design and Development.
-
vaene #1
Searching with multiple search parameters PHP
I am attempting to build a multiple parameter search/result page in
dreamweaver using php. I have been following along in the tutorial up until the
recordset insertion.
In step 5 of the tutorial "Searching with multiple search parameters" it says
to give a value for the runtime values and then lists off examples for ASP
Coldfusion and JSP but not PHP. AAARGH! Can anyone give me an example of what
a runtime value would look like in PHP? The SQL in the tutorial looks like this:
SELECT EMPLOYEEID, FIRSTNAME, LASTNAME, DEPARTMENT, EXTENSION ?
FROM EMPLOYEE WHERE LASTNAME LIKE 'varLastName' AND DEPARTMENT ?
LIKE 'varDept'
Thanks!
V
vaene Guest
-
Parsing Search Parameters
I'm splitting the following: "Custom Report" +Red -Green to get a list like "Custom Report" AND|Red NOT|Green -
ANN: InterAKT Site Search - search in multiple tables
Hello, We have just released a new product, MX Site Search, meant to help web developers and designers create a search form in their dynamic... -
Search multiple keywords across multiple fields
Hi, I'm about halfway through building a search engine using ASP, SQL and Access. As part of that search engine I need to search multiple... -
MySql search question. Searching on keywords
How do site searches work? I want to create a MySQL database with a field called "keywords". Then a form with a search phrase input box. I... -
searching multiple ages
On Fri, 18 Jul 2003 15:07:35 -0700, "Dan" <tandromp@hotmail.com> wrote: One way to do this is to base the Form on a query including an... -
David Powers #2
Re: Searching with multiple search parameters PHP
vaene wrote:
SELECT EMPLOYEEID, FIRSTNAME, LASTNAME, DEPARTMENT, EXTENSION> a runtime value would look like in PHP? The SQL in the tutorial looks like this:
>
> SELECT EMPLOYEEID, FIRSTNAME, LASTNAME, DEPARTMENT, EXTENSION ?
> FROM EMPLOYEE WHERE LASTNAME LIKE 'varLastName' AND DEPARTMENT ?
> LIKE 'varDept'
FROM EMPLOYEE WHERE LASTNAME LIKE '$lastName' AND DEPARTMENT
LIKE '$dept'
--
David Powers
Author, "Foundation PHP 5 for Flash" (friends of ED)
Co-author "PHP Web Development with DW MX 2004" (Apress)
[url]http://computerbookshelf.com[/url]
David Powers Guest



Reply With Quote

