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
Hi Martin,
Excellent, thanks for your help :)
Regards
--
Shane
On Monday 17 Dec 2001 10:15 pm, Martin Towell wrote:
> you _can_ reference it by name - try this:
>
>
> function my_select(type)
> {
> frm = document.forms.test;
> ele = frm["mycheckbox[]"];
> len = ele.length;
>
you _can_ reference it by name - try this:
function my_select(type)
{
frm = document.forms.test;
ele = frm["mycheckbox[]"];
len = ele.length;
for (i = 0; i < len; i++)
ele[i].checked = type;
}
Martin
-Original Message-
From: Shane Wright [mailto:[E
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:
Hi Charles,
As a button, ideally two in fact - 'select all' and 'unselect all'.
I've done it easily with ASP sites - where the '[]' is not required to have
the values passed back as an array.
(I know I could find a non-array way of doing it but its a pain)
--
Shane
On Monday 17 Dec 2001
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
Subject: [PHP] 'Select Al
7 matches
Mail list logo