Hello, Can someone refer me to a good tutorial on more advanced data fetching from MySQL with PHP? Specifically, I want to be able to only fetch and display a certain number of results, such as the first 10 rows of data in the table. None of the tutorials I've found cover this... Any help would be appreciated. ~Adam
To show the first 10 rows, use this in your query: "LIMIT 0,10" $query = "SELECT * FROM foo LIMIT 0,10"; PHP: