How can i search any thing from database by using php

Recommended Answers

All 3 Replies

Start here.

$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.