Try:
$query = "SELECT * FROM software_assets WHERE $searchType LIKE
'$search%' ";
Note the percent sign, this is equivalent to a wildcard (* for
instance).
On Thu, 2003-04-03 at 10:53, Mike Tuller wrote:
> I have built a search function that searches a table for all items that
> match what you
I have built a search function that searches a table for all items that
match what you enter into the search field. I would like it to return
all items that contain a certain string rather that matches. For
example, I want to have it so that if I enter M in the search field, it
will return all
"];
> len = ele.length;
> for (i = 0; i < len; i++)
> ele[i].checked = type;
> }
>
>
>
>
>
>
>
>
>
>
> Martin
>
>
> -Original Message-
> From: Shane Wright [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, De
right [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 18, 2001 4:55 AM
To: [EMAIL PROTECTED]
Subject: [PHP] 'Select All'
Hi
I'm having somewhat of a problem :(
I have my banks of checkboxes, all named 'mycheckbox[]' with the values as
different IDs. The user happi
Oh, one more thing.. The latest MSIE suddenly doesn't seem to support the function to
be named 'selection' . change that and it'll work ;)
bvr.
>
>
>I know *exactly* what you mean, the solution (took me at least an hour) is attached.
>
>have fun,
>bvr.
>
--
PHP General Mailing List (http:
right" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, December 17, 2001 6:54 PM
> Subject: [PHP] 'Select All'
>
> > Hi
> >
> > I'm having somewhat of a problem :(
> >
> > I have my banks of checkboxes, all n
I know *exactly* what you mean, the solution (took me at least an hour) is attached.
have fun,
bvr.
On Mon, 17 Dec 2001 17:54:42 +, Shane Wright wrote:
>Hi
>
>I'm having somewhat of a problem :(
>
>I have my banks of checkboxes, all named 'mycheckbox[]' with the values as
>different IDs.
Shane,
is this meant for initial settings of the form only or as a button, or some
such, to allow someone to select all the boxs?
chuck
- Original Message -
From: "Shane Wright" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 17, 2001 6:54 PM
Hi
I'm having somewhat of a problem :(
I have my banks of checkboxes, all named 'mycheckbox[]' with the values as
different IDs. The user happily checks a few of them and my scripts happily
process the resulting arrays.
But... how do I get Javascript to do a 'select all' on them?? I cant a
9 matches
Mail list logo