query to display the results without...

From: Date: Mon, 08 Dec 2003 22:15:00 +0000
Subject: query to display the results without...
Groups: php.general 
Request: Send a blank email to php-general+get-172182@lists.php.net to get a copy of this message
Hi there I have a database called "Eric" and table name called "Rocket'. Table consists of three values. PARTNO | DESCRIPTION | COMMENT So far if i want to show copper headgaskets from the 5r field i put this string into the php script (along with the rest of the html/php code) $sql = "SELECT * FROM rocket WHERE partno like '5r%' AND description like 'COPPER HEADGASKET%'"; The problem is there is 1000s of different querys i want to run and dont want to make a page for each query. So what im trying to ask is how do i run a query to display the results (like http://www.domain.com/query.php?"the query i want to run" rather then link to a .php/html file with the query inside of it.)

« previous php.general (#172182) next »