Jump to content

reveret

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About reveret

  • Rank
    Newbie
  1. I have searched in vain for an answer to this problem, but I am getting no where. Here is the issue: I have a search form that works fine as a desktop application. On mobile devices there is a problem. If a user starts typing in the search input, and then taps one of the words that pops up in predictive text (such as on an iphone), this word then fills the input. The search form returns no matches because, as I have discovered, the only thing being submitted is what the user actually typed before tapping the predictive hint. For example, if they start typing Pennsylvania but only type "P
  2. Thanks again. I'll try it out.
  3. Thanks for your quick response. I should have been clearer. I am using the query you suggested: SELECT * FROM table WHERE letter = ? But I am using it four times, once for each letter and thus one for each tab. I have a process file (process.php), and in that file I do the four database queries: <?php require_once('config.php'); // Connect to database // $mysql = new mysqli(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME); // get data for A // $A_data = $mysql->query("SELECT * FROM profiles WHERE letter = 'A'"); while($row = $A_data->fetch_ob
  4. I am new to web development, so be patient please I am working with a tab navigation system. It happens to be bootstrap, but this question is not specific to bootstrap. There are four tabs; for the sake of simplicity we will call them tabs "A", "B", "C", and "D." I have a single SQL table and one of the columns --we will call it "Letter"-- identifies each row with one of the four letters. When a user clicks on "A" tab, they should see all the rows where "Letter" = "A". The same for tabs "B", "C", and "D." Right now I am running four separate queries, one for each tab. This seem
×
×
  • Create New...