Question: I have a query as follows 

```
SELECT s.`uid` FROM `sessions` s

```

(this was an extended query with a LEFT JOIN but to debug i removed that join)

FYI the full query was

```
SELECT s.`uid`, u.`username`, u.`email` FROM `sessions` s LEFT JOIN `users` u ON s.`uid`=u.`user_id`

```

There are three results in the sessions table, for ease sake i'll just list the uid

```
| UID |
|  0  |
|  0  |
|  1  |

```

when i execute the above query, i would expect to receive all 3 rows. In phpMyAdmin, i do. in PHP, i do not, i only receive the rows with 0 as the UID. However, in php. the $result->num\_rows is 2, not 3. This is my php code:

```
$sql = "SELECT s.`uid` FROM `sessions` s";
$result = $acpDB->query($sql);
$staffList = array();
if ($result->num_rows > 0) {
    while ($data = $result->fetch_assoc()) {
        var_dump($data);
        $staffList[] = array(
            'username' => $data['username'],
            'email' => $data['email'],
        );
    }
}

```

I've tried plain ->query($sql), and also the prepare/execute method, neither seem to work.

The only conflict i can think of, is that i already pull that row from my session class, but how can i just get it to return all rows, even rows that have already been pulled from that table in another class?

Any help would be greatly appreciated

Dan

Answer: 
You can add a meta tag to your page header to prevent mobile safari turning telephone numbers into links 

```
<meta name="format-detection" content="telephone=no">

```
I believe you can use [`dataDetectorTypes`](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIWebView_Class/Reference/Reference.html#//apple_ref/occ/instp/UIWebView/dataDetectorTypes) to tell the web view what links to ignore.

```
webview.dataDetectorType = UIDataDetectorTypeNone;

```

See the [docs](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIKitDataTypesReference/Reference/reference.html#//apple_ref/doc/c_ref/UIDataDetectorTypes) for all the types.