Re: how to display one record in SQL/PHP
Quote:
Originally Posted by DaveSawers
So why not have a single product page and pass in the id of the prouct as an argument, e.g.: http://mysite.com/product.php?id=5 and then use that in the SQL query to get the data from the database and stick it in the page.
|
Dave - This is exactly what we do with our advertiser listings on our sites, such as a process server in Florida is http://www.search-for-servers.com/moreinfo.php?id=33 and shows HERE COMES THE JUDGE - Sarasota, FL Process Servers - SearchForServers.com. We also do this on the main results page, such as http://www.search-for-servers.com/results.php?cat=5 shows California Process Server Search Results - SearchForServers.com.
Hope this type of information helps you out seorocks.
Last edited by dglaeser : 06-09-2007 at 12:24 AM.
Reason: Forgot to uncheck 'retreive titles of urls', otherwise, my point with the dynamic urls is moot.
|