hello..anyone help me to give an example code for search?

hello..anyone help me to give an example code for search?

select name
from idiots
where cant_be_arsed_making_an_effort = true
and will_fail_college = true

name
-------
beihkya
    (1 row)

Bad response pty. Stop playing the smart ass. This is a forum. People ask, answer... Sometimes the time is very short and you need a quick solution.

So, beihkya, please try the following tutorial:

http://www.phpfreaks.com/tutorials/129/0.php

Good luck!

If people come and ask stupid questions I will give them stupid answers.

"hello..anyone help me to give an example code for search?"

What the hell is that? Search? Search what? And in what context?

This is a PHP forum. There are thousands of examples of search functionality a Google search away.

The original question came from someone too lazy to do anything for themselves - giving them help will encourage them to coast. If it was up to me I'd just delete the one-poster stupid question brigade full stop.