Re: [PHP] Select all that contains in MySql

2003-04-03 Thread Adam Voigt
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

[PHP] Select all that contains in MySql

2003-04-03 Thread Mike Tuller
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

Re: [PHP] 'Select All'

2001-12-18 Thread Shane Wright
"]; > 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

RE: [PHP] 'Select All'

2001-12-17 Thread Martin Towell
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

Re: [PHP] 'Select All'

2001-12-17 Thread Bas van Rooijen
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:

Re: [PHP] 'Select All'

2001-12-17 Thread Shane Wright
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

Re: [PHP] 'Select All'

2001-12-17 Thread Bas van Rooijen
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.

Re: [PHP] 'Select All'

2001-12-17 Thread Charles Williams
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

[PHP] 'Select All'

2001-12-17 Thread Shane Wright
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