[Easy] What is the right code for joining this 2 textfield

Discussion in 'PHP' started by basketmen, Mar 20, 2007.

  1. #1
    I have 2 textfield (for search Name and Username) and i want to joining them to just one textfield only, so people can search for Name and Username in just one field


    this is textfield for Name



    and this textfield for Username







    what is the right code to do that?

    i try this, but it is not right

     
    basketmen, Mar 20, 2007 IP
  2. sadcox66

    sadcox66 Spirit Walker

    Messages:
    496
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Perhaps in your text field you want to say.

    Search by firstname/lastname:

    and then in your database search perform two search queries.
     
    sadcox66, Mar 21, 2007 IP
  3. basketmen

    basketmen Well-Known Member

    Messages:
    837
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    130
    #3
    Thanks for answering, i dont know where to do that in database, let me know if you know tutorial url about that


    Yup i want to make it
    Search by Name/Username:


    i try this but its still not work



    lets share your knowledge with me if you have it
     
    basketmen, Mar 21, 2007 IP