How do I select multiple columns in a recordset

I am very new to Dreamweaver/PHP/MYSQL
I have created my recordset but I cant work out how I select multiple columns.
How do I select multiple columns, I want to search for data that is spread over different columns.
My recordset looks like this just now.
SELECT *
FROM names
WHERE nameone = john
I have 11 columns where the name john my or may not appear so how would I select all the columns. What would the recordset look like.
As I have said I,m very new to this  and forgive me if what i have just said makes no sense.
Thanks

>I have 11 columns where the name john my
>or may not appear so how would I select all
>the columns. What would the recordset look like.
You could try a Full-Text search (if mysql supports it) but on the surface, this sounds like a badly designed data structure. What does your database and table design look like?

Similar Messages

  • How to get Select All or select Multiple columns  in OOALV

    HI Experts
    i'm assignig internal table to dynamic internal table(FS_IST_TABLE) for to display the output.
    but i'm not geting the Select ALL Option. and i can't select multiple columns at a time.
    where i can select only one column.
    how can i select multiple columns.
    please any one help me.
    regrads,
    rathan.

    Hi,
      If we want to select the multiple columns in the alv by using ooabap
    so in the class CL_GUI_ALV_GRID  it is having one method SET_TABLE_FOR_FIRST_DISPLAY
    it is having one importing parameter IS_LAYOUT of type lvc_s_layo type
    and this structure contains one field SEL_MODE and set that field value as 'A'.
    then we can select the multiple rows in alv grid

  • How do you select multiple files at one time

    How do you select multiple files at one time

    Select one, and then either command-click another, or in list/column view, Shift-click the item at the other end of the range you want to select. Alternatively, click on a spot in the screen and drag the cursor until all the files are selected.
    (114308)

  • Super Basic, How do I select multiple files?

    Super Basic, How do I select multiple files?  I can click on one, but I want to select an entire group of files.  On a PC I would use the control or shift keys, or just use the mouse to draw a box around them, but nothing seems to work.

    It works here using the Shift key (after selecting the first item, hit Shift key while clicking on another). If you display your Finder windows as list or columns, it's extra easy: You click on the first item, then hit Shift and click on the last item - all of them will be selected.

  • How do you select multiple files to drag

    How do you select multiple files to drag from one folder to another? Is there a command?

    Open the folder which has the contents you want to transfer.  Press COMMAND 'A' and then all of the data should be highlited in blue.  Drag it to the new folder.
    If only certain files are to be transferred, then you have to select them (COMMAND 'A')  individually and the drag them as a group to the new location.
    Ciao.

  • How do you select multiple messages/conversations on SMS/MMS to forward or save to memory card on Samsung Stratosphere?

    How do you select multiple messages/conversations on SMS/MMS to forward or save to memory card on Samsung Stratosphere? 
    My screen is cracked and I need to replace my phone and I don't see a way of selecting multiple messages or even conversations one at a time to forward them to email or to save them to a memory card.  I can delete thread but can't forward it or move it.  Is there a setting somewhere that will move the storage location for messages to the memory card instead of internal?
    If not, any suggestions on backup apps?  I have heard of Txtract to back up SMS and MMS messages, and Titanium Backup to back up everything (SMS, MMS, apps, app data...).  Anyone have any experience with those, or other suggestions?
    Thanks!
    Rich

    <Duplicate topic.  This thread will be locked.  Please see Help transferring data (SMS, MMS, Apps, App data) to new phone? for any replies.>

  • How do you select multiple songs in itunes to delete

    how do you select multiple songs to delete at once in itunes?

    Try highlighting the first one yhen command click on the others you wish to delete, when you have the ones selected hit delete.

  • How do I select Multiple Pdfs at one time when I am combining files?

    How do I select Multiple Pdfs at one time when I am combining files?
    I can only select one pdf at a time.

    Hi,
    Please use either Firefox or Chrome to selelct multiple files.
    Thank you.
    Hisami

  • How can I select multiple photos of files without selecting each individual one

    How can I select multiple files or photos without having to select each individual one? Like you can do on Windows

    Op: without tapping on each one individually
    tap all the photos you want to delete.
    Note what the OP is asking.

  • How can I select multiple photos without tapping on each one individually

    How can I select multiple photos without tapping on each one individually?

    Op: without tapping on each one individually
    tap all the photos you want to delete.
    Note what the OP is asking.

  • How Do I select Multiple songs to Use with Slideshow?

    I am running Lightroom 4 on an iMac with OS - Lion. Love it!
    I am trying to create a slideshow with music in the background but I cannot seem to select more than 1 song. How can I select multiple songs?
    Thanks
    Adrian

    The slide show feature in Lightroom isn't really very flexible or feature packed.  I suspect the design was to provide professional photographers a quick way to show proofs to clients.  You will have to use other software for what you intend to accomplish.  I'm going to be creating a slide show with about 500 images soon.  My intention is to create the slide show with Lightroom and export as video.  Then I will use Premiere Elements and import the video and lay down the music track.  There are easier ways to do it, I know.  But I don't do this kind of thing very often and don't plan to purchase more software that would make it easier.

  • How do I SELECT multiple albums in iPhoto?

    I can select a single album:
    select album "Album A"
    But, How do I SELECT multiple (non-contiguous) albums in a list?
    Something like :
    select album's {"album1","album3","album9"} --(doesn't work)
    -TIA
    G4 powerbook   Mac OS X (10.4.6)  

    I agree, it seems to just be limited to children of Library.
    I'm going to use your 'build command' to deselect all Library items. That way, the novice computer user will get visual feedback that Library items won't be processed.
    ----------------applescript
    tell application "iPhoto"
    set _selection to selection as list
    --getting selected albums inherently omits Library albums (a bug IMHO) .
    set _albumsSelected to {}
    repeat with _album in _selection
    set end of _albumsSelected to _album's name
    end repeat
    -- Now, reselt albums to deselect Library albums.
    set commandString to "select (albums whose name is "
    set firstLoop to true
    repeat with albumName in _albumsSelected
    if firstLoop then
    set commandString to commandString & "\"" & albumName & "\""
    set firstLoop to false
    else
    set commandString to commandString & " or name is " & "\"" & albumName & "\""
    end if
    end repeat
    set commandString to commandString & ")"
    run script {commandString}
    end tell
    Thanks Bernard for your help. I just changed "contains" to "is" because in my tests I had "untitled album", "untitled album 1" etc. Then, because of the first "untitled album", all iterations were re-selected (not desirable).

  • How do I select multiple clips in a timeline in the reverse direction, e.g. middle to front?

    I know how to click "a" and select clips in the timeline looking forward, but how do we select multiple clips from a middle point to the front of the timeline?  I don't want to be lassoing -- is there some other way?

    Hi denniscallan,
    Please check the track selection tool. Refer to the link below for more information about the tools section.
    http://help.adobe.com/en_US/premierepro/cs/using/WSd79b3ca3b623cac957c49aa9127401b0642-7ff f.html
    Regards,
    Vinay

  • How do I select multiple albums in Revel to start/stop sharing?

    How do I select multiple albums in Revel to start/stop sharing?

    Hello,
    You have to select each one to share the album. You can have multiple albums sharing at the same time. Please see our FAQ post "How to share photos with Revel"
    http://forums.adobe.com/thread/1157995?tstart=0
    For additional helpful information regarding Revel , please see our main FAQ Forum http://forums.adobe.com/community/ps.com_sharing_and_storage
    Thanks
    Scott

  • How do I select multiple pictures in a folder

    How do I select multiple pictures in a folder? I have tried shift + click, command + click etc but cannot find a way of selecting a large group without selecting individually 

    Select the first image.  Then Command-Click on each additional image you want to select as part of a group.
    If you are using List mode, you can click on the first, then Shift-Click on the last, and all the files between the first and the last will also be selected.
    Command-Click will still work to add additional non-sequential, or to remove items from the list already selected.

Maybe you are looking for

  • How to generat multiple invoices based on per employee/contractor/services?

    Hello Experts / Dina, I am in situation where customer is in business of body shopping and charges to his final customer based on individual invoice / per employee /contracor & customer services. This was happening in legacy system but after the impl

  • Automatic creation of the Cost Object Owners in WorkFlow

    Hello Experts, Business requirement background is      SREQ Contact person just enter cost object and submit for approval.In all cost object cases he can save the service order and submit. After SREQ FRA reviewer approval, before workflow  notificati

  • System copy based on export/import on MSCS

    Hi, a NW 7.0 istance (BW usage) on MSCS... we would like to copy to new host (as dev refresh). This MSCS is made of: - host1 (first node) - host2 (second node) - mscdhost (mscs virtual host) - orahost (oracle virtualhost... on a dedicated group) - sa

  • Safari opens new tabs extremely slow

    My post is very similar to this one. Since I got Safari 4, opening new tabs has been painful when having Safari open (in the background) for a longer period of time.. When starting Safari and doing stuff with tabs, no problem! However, after a couple

  • Message d'erreur "Les URL de type "File:" ne sont pas prises en charge".

    Je reçois un message d'erreur "Les URL de type "File:" ne sont pas prises en charge". J'ai trouvé un forum qui dit d'aller effacer le fichier /Bibliothèque/Preferences/com.apple.TimeMachine.plist ... qu'en pensez-vous? et où le trouver? merci