hello friends,

if i want to search with A in searching and if i want to B
please send code

thanks

Rakesh Nagekar

in serach.php,,,
use your query like:

SELECT * 
FROM blog_table
WHERE blodLIKE 's%'

this query will return you all posts starts by s....

if i want to search from A to Z then in a single query can we

please

Rakesh Nagekar

yes,
use the query with your requirement..like

SELECT *
        FROM blog_table
         WHERE blodLIKE ''".$_POST['letter']."'%'

$_POST comes from browse blogs....

can u please tell in detail please
miss shanti garu
please andi

Rakesh Nagekar

hello:
use a href link to divert into search.php what letter you wan to see the blog...
At line 8:

<td> <a href="searchbox.php?value=a">A</a> | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y |Z</td>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.