How can i search any thing from database by using php

$sql = 'SELECT * FROM table WHERE column LIKE "%'.$search.'%"';
Member Avatar for diafol

Read a tutorial.

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.