I need some help here.

Here the code:
if $s = a number my code works but the second I add a letter in there it doesnt work.
because sometimes $sel = T10
and sometimes $s = 9 with no letter

```
$results = $handle->query("SELECT * FROM i
WHERE n  = '".$s ."';");
echo "IP:  ";
while($table = $results->fetchArray()){
echo "6.";
echo "<td> ".$ta['i']."</td>";
}

```

If I do a direct sql query in my DB manager app.

```
SELECT id FROM ip
WHERE cbn  = 'c5'

```

this works with letter...number...but I need this to work in my php page.

any help please.